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
精彩评论