chris
chris

Reputation: 41

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?

Upvotes: 2

Views: 444

Answers (1)

Seema
Seema

Reputation: 787

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

Upvotes: 1

Related Questions