Which Ruby gems support the Facebook API?

前端 未结 8 1002
春和景丽
春和景丽 2021-01-30 23:30

I have a rails application using the Facebook API. I\'ve seen several different Ruby gems for integrating with Facebook, but they look dated.

Is it best to write low-le

相关标签:
8条回答
  • 2021-01-31 00:17

    I've dug into the Koala deeply for my project, and I found it to be well written, solid code that has full test coverage. The main author, Alex Koppel, definitely knows what he's doing and he cares about the developer community. I needed to make a few improvements, which was easy thanks to the good architecture of the gem, and Alex was helpful in merging the changes into the master branch. Highly recommended.

    0 讨论(0)
  • 2021-01-31 00:18

    One known to have an active user base is facebooker2. The documentation is not really sufficient right now but its mailing list is very active, you get responses pretty quickly.

    0 讨论(0)
  • 2021-01-31 00:19

    The sample source of Heroku's facebook application was used mogli,but now is koala.It is the best and great gem.Have a good group -- koala-users

    0 讨论(0)
  • 2021-01-31 00:24

    The Koala Gem is the way to go.

    These Railscasts from July will tell you all you need to know about interacting with the Social Graph in Ruby and in Rails (both are paid episodes):

    #361: Facebook Graph API: Learn how to use the Facebook Graph API with the Koala gem to fetch data from Facebook and post content through a user. Here I delve into permissions, error handling, and more.

    #363: Facebook Open Graph: This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process.

    0 讨论(0)
  • 2021-01-31 00:25

    According to this link,

    With Facebook’s Graph API and the creation of the Open Graph protocol, it is now easier then ever before to read and write data from and to the “social graph”.

    ...

    The following are proven to work with Ruby 1.9.x and Rails 3.0.0.

    Gems

    Cardinal Blue’s rest-graph
    miniFB
    FBGraph
    Koala
    Mogli

    Plugins - Facebooker2

    Middlewares
    OmniAuth
    rack-facebook

    0 讨论(0)
  • 2021-01-31 00:26

    The oauth2 from Intridea supports Facebook's Graph API.

    Blog Post: http://intridea.com/2010/4/22/oauth2-gem-just-in-time-for-facebook-graph?blog=company

    On github: http://github.com/intridea/oauth2

    0 讨论(0)
提交回复
热议问题