Facebook Graph API

Continuing from Omniauth to allow sign in through Facebook, last night I included a client-side authentication that uses Facebook Javascript SDK. Also, I was trying out the Facebook Graph API with Koala gem to fetch data from Facebook and post content through a user. There’s more that can be done to integrate Facebook into the app by using the Open Graph protocol.

How does the Open Graph works?

Any page in your application can be treated as an object in the social graph allowing the user to interact with it. But to do this, you’ll need to add the meta tags in the html page describing it as an object and Facebook will parse this, allowing you to work with it as an object in the Graph API.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: