Aug 232010
 

This is the first post in a mini series about the Facebook Graph API.

About It
The Graph API offers information about users, groups, pages, applications, photos, videos, events and more. You submit a query to the API and it returns information in JSON format.

Why it’s important
The Graph API makes it really easy to pull data from Facebook and add it to your applications. You can make custom applications that sort feeds, photos, organize them and post new data. No need to make complicated applications or get angered every time Facebook changes the look.

How it works
Your web app sends an AJAX request to http://graph.facebook.com/ID# where the ID# can be of anything mentioned above. Example: http://graph.facebook.com/4 will show you some information on Mark Zuckerberg, the person who is ID4.

More information:
http://developers.facebook.com/docs/api

Share