简体   繁体   English

在 rails3 中使用 facebook 登录的代码?

[英]Code for login with facebook in rails3?

In my application we are providing user to login with facebook.Can any1 tell me the code for this?在我的应用程序中,我们提供用户使用 facebook 登录。谁能告诉我这个代码?

Devise 1.2 now comes with facebook login support using omniauth and works with Rails 3.0. Devise 1.2 现在带有使用omniauth 的facebook 登录支持并与Rails 3.0 一起使用。 Check out https://github.com/plataformatec/devise/wiki/OmniAuth%3a-Overview .查看https://github.com/plataformatec/devise/wiki/OmniAuth%3a-Overview

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM