如何在rails3中为authlogic设置facebook-connect?
我在网上搜索了很多,以将 facebook-connect 与 Rails3 中的 authlogic 集成。有许多基于 facebooker、oauth 等的解决方案,但它们似乎都没有说明它们是否适用于 Rails 3。任何人都可以指导我如何让 facebook-connect 与“rails3”中的 authlogic 一起使用。我看到网站上有很多与此相关的问题,但似乎没有一个真正回答了这个问题。
I have been searching a lot on the net to get facebook-connect integrated with authlogic in rails3. There are a number of solutions based on facebooker, oauth etc. but none of them seem to say anything on whether they work with rails 3 or not. Can anyone guide to me on how to get facebook-connect working with authlogic in "rails3". I see that there are a lot of questions related to this on the site but none seems to have actually answered the question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我强烈建议您使用 http://www.janrain.com/products/engage 与此gem https://github.com/tardate/authlogic_rpx。这个组合在我的两个项目中效果非常好,如果您只想使用身份验证(就像我的例子),它是免费的。
附言。看看railscast: http://railscasts.com/episodes/233-engage-with-devise 。我知道,这个播客展示了如何将 Janrain 与 Devise 结合使用,但它帮助我使用 Authlogic,因此它也可以帮助您。
I strongly recommend you to use http://www.janrain.com/products/engage with this gem https://github.com/tardate/authlogic_rpx. This combo works amazing with two of my projects and it is free if you only want to use authentication (like in my case).
PS. look at railscast: http://railscasts.com/episodes/233-engage-with-devise. I know that, this podcast show how to use Janrain with Devise, but it helped me with Authlogic so it also can help you.