如何从Google,Facebook,Yahoo等向我的网站添加社交登录服务? [英] How to add Social login services from Google, Facebook, Yahoo etc. to my website?

查看:192
本文介绍了如何从Google,Facebook,Yahoo等向我的网站添加社交登录服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网站上添加以下按钮,以便为用户提供使用Google,Facebook等更多服务登录的选项.

请回答以下问题:

  1. 如何免费添加这样的各种服务?免费? (请注意,我不想使用任何付费服务,例如Janrain和)
  2. 如何将存储在帐户中的用户的用户信息(如电子邮件,电话号码)存储到我的数据库中?
  3. 请提供所有可以使用的链接/库.

我感谢您可以提供的任何其他信息.

谢谢!

解决方案

您将使用相应服务(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

http://openid.net/add-openid/

也请看 解决方案

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

http://openid.net/add-openid/

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆