开发者

Facebook API code

can someone show me PHP code for 1) updating user status 2) display friends pics 3) display friends last status

script to should ask for 开发者_如何学运维authorization only once, must save the session and how to make it automatically connect when they got back later?


Read this tutorial http://thinkdiff.net/facebook/php-sdk-graph-api-base-facebook-connect-tutorial/ it may be help your to update status message and get facebook user infomation. You can show friend picture with below fbml tag

<fb:profile-pic uid="[friend facebook id]" size="square" facebook-logo="true"></fb:profile-pic>

Best luck

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜