facebookfacebook-graph-apioauth-2.0facebook-timelinefeed

Status comments and likes using OAuth


I am just messing around with Facebook connect on my local machine. I created a very basic app using PHP where a user can type a comment, and it will be posted to the users Timeline/Wall, as well as the webpage.

I was wondering is there a tool where all comments/likes/feeds can be viewed on my webpage as well? Basically can that whole feed be viewed not on Facebook, but on my webpage?

Thanks,

Peter


Solution

  • Yes, the tool is called the Graph API. When you get the correct access tokens you can easily pull comments, likes, feeds for the authenticated user. See: https://developers.facebook.com/docs/reference/api/