I have a Digg style site, currently each member has a profile page where they add links to their projects and social networking profiles.
I am trying to implement a feature that allows the member to display the last "X" number of status updates to their Facebook wall.
I have been going through the Facebook API FAQs, but unclear on how to best implement this.
Does anyone know a good starting point for writing the API call or where I should look for examples?
My site currently runs on PHP.
Here's a set of point to get you started:
read_stream,offline_access
permissions (more about this here ) access_token
to your DB. Next time you want to retrieve the user's wall posts use:
$feed = $facebook->api("/PROFILE_ID/feed", "GET", array("access_token" => "XXXX"));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.