Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

So many Facebook libraries for Ruby, which to choose?

So far I've come across the following Facebook API libraries for Ruby/Ruby-on-Rails:

  • Facebooker
  • Koala
  • Mogli
  • Facebooker2
  • fb_graph
  • facebook_oauth

I was wondering if anyone knows why there are so many, and if anyone has a rough idea of which to use when?

like image 407
pthesis Avatar asked Nov 14 '22 01:11

pthesis


1 Answers

I did the same search recently and ultimately chose Koala. Facebooker was the clear choice a couple years ago, but it's out of date now with so many recent facebook api changes. Koala and fb_graph seem to be the most popular now. Koala is easy to use for accessing the graph api. I haven't used it for the older rest api, though Koala does support it. The only difficult part I've found is the facebook authentication with oauth - though that's probably facebook itself rather than Koala.

Relevant discussion here as well: Is fb_graph or Koala ruby gem better than facebooker2, using the facebook graph?

like image 174
ChrisW Avatar answered Dec 09 '22 23:12

ChrisW