开发者

Facebook and php - getting user's name

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜