In this article I’m focusing facebook latest php sdk to integrate facebook features in your site. Some days ago facebook released their new graph api system and updated their core structure. They also officially released php sdk so that you can easily call facebook latest graph api and old legacy api from server side by php.
Before proceeding first have a look my previous article specially Facebook connect authentication part.
In this post I’ll show
- How to check valid session of user, if user successfully logged in
- How to call graph api
- How to call legacy api
- How to update status dynamically using graph api
- How to use FQL Query
So take a look my demo of this tutorial. Please login by FBConnect and approve all the permission if you’re first time accessing the page.
Sources
http://thinkdiff.net/facebook/php-sdk-graph-api-base-facebook-connect-tutorial/