Skip to content

steveram/FBGrab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

FBGrab

FBGrab is a simple JavaScript wrapper around Facebook's Graph API. Once your website has an authenticated Facebook user logged in, FBGrab can be used to query data about that user.

Usage

Follow instructions to include the Facebook JS SDK on your site here: http://developers.facebook.com/docs/reference/javascript/
include FBGrab.js

Once you have an authenticated user logged into your site you can start querying user data from Facebook's Graph API.

FBGrab.userInfo(callback) //get the user object
FBGrab.userAlbums(callback) //get the user's photo albums

The callback is a function object that takes 1 argument, the data response of the query. The formats for the JSON objects you receive can be found at http://developers.facebook.com/docs/reference/api/

Just have a look inside FBGrab.js to look at types of data you can grab from the Graph API.

Roadmap

1. Implement the ability to query connections between all types of objects.

Resources

http://developers.facebook.com/docs/reference/javascript/
http://developers.facebook.com/docs/reference/api/

About

Facebook Graph API JavaScript Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published