views:

67

answers:

3

Hi,

I'm building an app in Rails 3. I currently have a user model which is authenticated via devise (email + password auth). I want to be able to show connect to facebook, connect to twitter buttons to the users once they are logged in.

After obtaining the keys from Facebook and Twitter, I'd want to store it in the database for future requests.

Which Ruby Gems should I be using for this use case?

Thanks!

+1  A: 

Okay, still no answers. Please check out the Ruby Toolbox, I'm sure the answer is there. It will tell you what the most common gems are for your problem if you can figure out the categorization system. Also, facebooker is a nice gem but it's a little old.

Chuck Vose
Thanks! Will have a look :)
Karthik Kastury
+2  A: 

Instead of Facebooker, we just implemented a facebook-connect style login and application using mini_fb

Mini_fb uses the new graph API, which is cool, and was easy to implement. We used Rails3 and authlogic, but difference to devise should be negligible.

For twitter, this twitter gem is nice, but this devise-twitter gem looks nice for login.

Jesse Wolgamott
mini_fb looks interesting. Will check it out.. Thanks.
Karthik Kastury
I just used devise-twitter. Worked like a charm.
Joost Schuur
+1  A: 

Facebooker is deprecated in favour of mogli, which uses the Graph API. And for Twitter, I'd recommend John Nunemaker's twitter. Since you are already using Devise, you can use the devise-twitter as mentioned by Jesse Wolgamott.

Swanand