Use GraphAPI to retrieve data from Facebook and return that data in objects.
git clone git://github.com/IamPersistent/facebook-graph.git
cd facebook-graph
git submodule update --init
require('facebook.php');
$facebookSdk = new \Facebook(array(
'appId' => id,
'secret' => secret,
));
$api = new \Facebook\Graph\GraphAPI($facebookSdk);
$posts = $api->fetchPosts('eight53');
$events = $api->fetchEvents('eight53');
- Add functional tests for fetch*() functions
- Add methods to api to write
- Create classes for the following Facebook objects
- Achievement(Instance)
- Album
- Application
- Checkin
- Comment
- Domain
- FriendList
- Group
- Insights
- Link
- Message
- Note
- Order
- Page
- Photo
- Question
- QuestionOption
- Review
- Subscription
- Thread
- User
- Video