开发者

Rails - Facebook Connect, where to start

开发者 https://www.devze.com 2023-02-15 05:44 出处:网络
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?

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


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.


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/.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号