如何从Google,Facebook,Yahoo等向我的网站添加社交登录服务? [英] How to add Social login services from Google, Facebook, Yahoo etc. to my website?
问题描述
我想在我的网站上添加以下按钮,以便为用户提供使用Google,Facebook等更多服务登录的选项.
请回答以下问题:
- 如何免费添加这样的各种服务?免费? (请注意,我不想使用任何付费服务,例如Janrain和)
- 如何将存储在帐户中的用户的用户信息(如电子邮件,电话号码)存储到我的数据库中?
- 请提供所有可以使用的链接/库.
我感谢您可以提供的任何其他信息.
谢谢!
您将使用相应服务(Google,Facebook,Twitter)的API,或者如果您也打算添加API,则可能是OpenID. 一些链接:
http://code.google.com/apis/accounts/docs /OpenID.html
https://developers.facebook.com/docs/authentication/ >
http://dev.twitter.com/pages/auth
也请看 解决方案
You'll be using the APIs of the respective services (Google, Facebook, Twitter) or may be OpenID if you plan to add that as well. Some links:
http://code.google.com/apis/accounts/docs/OpenID.html
https://developers.facebook.com/docs/authentication/
http://dev.twitter.com/pages/auth
Also take a look here. There are several similar questions already present on SO, check the related questions on the right.
这篇关于如何从Google,Facebook,Yahoo等向我的网站添加社交登录服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!