开发者

Facebook and php - getting user's name

开发者 https://www.devze.com 2023-02-24 02:01 出处:网络
How can I get this user\'s name using hi开发者_如何转开发s/hers uid in my app using php? I\'m assuming that the given user permitted my app to access this data.Facebook has php-sdk (a convenient php l

How can I get this user's name using hi开发者_如何转开发s/hers uid in my app using php? I'm assuming that the given user permitted my app to access this data.


Facebook has php-sdk (a convenient php library that can be used to use facebook api) that has exactly this example, a source available for you.


use php-sdk library to get user information.

$facebook->api('/me') returns all information regarding user(name,email etc)

0

精彩评论

暂无评论...
验证码 换一张
取 消