Code for login with facebook in rails3?
In my application we are providing user to login with fa开发者_运维知识库cebook.Can any1 tell me the code for this?
Check this app:
https://github.com/holden/devise-omniauth-example/
Devise 1.2 now comes with facebook login support using omniauth and works with Rails 3.0. Check out https://github.com/plataformatec/devise/wiki/OmniAuth%3a-Overview.
精彩评论