AnApprentice
AnApprentice

Reputation: 110950

Facebook Graph API gem

I wanted to use the Facebook graph API in my rails app.

What is the recommended gem to work with the FB graph APIs?

Thanks

Upvotes: 4

Views: 14183

Answers (3)

Simpleton
Simpleton

Reputation: 6415

You can use the Koala gem from https://github.com/arsduo/koala

Upvotes: 9

Roman
Roman

Reputation: 13058

This is a well written FB graph support for Ruby - https://github.com/nov/fb_graph

Upvotes: 9

Frazell Thomas
Frazell Thomas

Reputation: 6111

You can query the Graph API directly. The responses will be in JSON which you can then parse as needed. See the Facebook Documentation for more details on the specific functions you can call and sample JSON responses.

I don't code in Ruby, but this seems like a great start on understanding Ruby on Rails and JSON.

Upvotes: 3

Related Questions