I am going to make a very simple web application. I only need the friend list of the current user and then send a message to a selected user with an image/text. I have looked after gems that wraps the detail of extracting data from Facebook and I found some gems, but they all use the old REST API. First of all: is it bad to use the REST API? If not, is "Facebooker" a good gem? If it is bad I found this Which Ruby gems support the Facebook API? but I don't see much of documentation for the Facebooker2. Are there other options?
Asked
Active
Viewed 7,998 times
3 Answers
12
i'm using koala - works with OAuth authentication and Facebook Graph API. Didn't have any serious problems with it, and it's pretty well documented (with examples) on github

schiza
- 1,900
- 1
- 15
- 18
-
I'd go with Koala too. Recently used it and it's up to date and well documented. – Simpleton Aug 25 '11 at 05:48
-
+1 for [Koala](https://github.com/arsduo/koala) The only issue we've hit is here: https://github.com/arsduo/koala/issues/110 – Michael Jones Aug 24 '11 at 22:30
3
The Ruby Toolbox is a great resource for this kind of question.
In your case, try searching for 'facebook' -- as in https://www.ruby-toolbox.com/search?utf8=%E2%9C%93&q=facebook -- and you'll find that https://github.com/nov/fb_graph is a popular and well-maintained FB gem (at least riight now).

fearless_fool
- 33,645
- 23
- 135
- 217
0
Since Facebook introduced the Open Graph API I've found it's pretty easy to just roll my own wrapper for the REST calls I need using an http client like HTTParty or RestClient. YMMV.

Chris Mowforth
- 6,689
- 2
- 26
- 36