Skip to content

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Graph API

Build Status

Use GraphAPI to retrieve data from Facebook and return that data in objects.

Install

git clone git://github.com/IamPersistent/facebook-graph.git
cd facebook-graph
git submodule update --init

Usage

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');

Todo

  • 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

References

[http://developers.facebook.com/docs/reference/api/]

About

Namespaced interface and classes for Facebook Graph API

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages