Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails - Facebook Connect, where to start

I have a small web app, and I would like to allow for facebook connect to get the users photo. So where should I start to do integration with facebook and my app?

Thanks

like image 381
TheExit Avatar asked Mar 08 '11 05:03

TheExit


2 Answers

I strongly recommend checking out OmniAuth, it makes the process of integrating with Facebook and many other third-party authentication providers orders of magnitudes easier. The readme and wiki on GitHub are pretty good, and Ryan Bates has done several screencasts on the subject.

fb_graph is another popular Facebook-only gem, as is Koala.

like image 93
Michelle Tilley Avatar answered Nov 10 '22 12:11

Michelle Tilley


For rails & facebook integration there is this nice ruby gem called Facebooker(http://facebooker.rubyforge.org/). There is also a pragmatic programmers book titled Developing Facebook platform application using ruby on rails (http://www.pragprog.com/titles/mmfacer/developing-facebook-platform-applications-with-rails). I haven't personally used facebooker though there is a nice tutorial with facebook connect and rails here -> http://blog.moove-it.com/using-facebooker-to-make-a-rails-site-with-facebook-connect-part-1/.

like image 22
Kunday Avatar answered Nov 10 '22 11:11

Kunday