Reputation: 10400
I am creating a rails application where I need to allow users to login to my site with their facebook IDs.
How do I do that. I don't understand the facebook documentation much. Are there any other clear resources on the internet?
thanks
Upvotes: 0
Views: 806
Reputation: 36
For single sign on, you can get a simple copy/paste solution from LaunchBit. It's free.
Upvotes: 0
Reputation: 7758
OmniAuth is a new kid on the block which looks promising. It's Rack-based and provides a common API for authentication via Twitter, Facebook, LinkedIn et al.
Upvotes: 1
Reputation: 40277
We just implemented a Facebook Connect using mini_fb -- it uses the new facebook graph api, which is cool to get data. And if all you're looking for is to login, it's create.
They have an example for facebook_connect and for authentication (to query for data).
Upvotes: 0
Reputation: 3500
There's a devise plugin too: http://github.com/grimen/devise_facebook_connectable
Upvotes: 0
Reputation: 44881
You should be able to do this using oauth, here's a ruby tutorial: http://stakeventures.com/articles/2008/02/23/developing-oauth-clients-in-ruby
Upvotes: 0