Alipay
API Document URL:
https://doc.open.alipay.com/docs/doc.htm?spm=a219a.7386797.0.0.UZoilp&treeId=65&articleId=104807&docType=1
alipay user_id唯一,用作open_id
API Document URL:
:http://wiki.open.qq.com/wiki/website/%E4%BD%BF%E7%94%A8Authorization_Code%E8%8E%B7%E5%8F%96Access_Token
1,https://graph.qq.com/oauth2.0/authorize?xxxx login
2,https://graph.qq.com/oauth2.0/token?xxxx verifyLogin _getToken
3,https://graph.qq.com/oauth2.0/me?access_token?xxxx verifyLogin _getOpenId(openid唯一)
4,https://graph.qq.com/user/get_user_info?xxxx verifyLogin _getUserInfo
按顺序调用
Weixin
API Document URL:
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419317853&token=&lang=zh_CN
微信特殊,因为微信的服务应用太多,所以处理openid还有unionid
同一个注册账户不同的应用(Web,移动App)Weixin返回的openid不一样,但是Unionid一样,所以产品有app和web时,都提供weixin快捷登陆的话,需要保存unionid.
不同注册账户,unionid不一样.
API Document URL:
http://open.weibo.com/wiki/%E6%8E%88%E6%9D%83%E6%9C%BA%E5%88%B6
1,https://api.weibo.com/oauth2/authorize?xxxx login
2,https://api.weibo.com/oauth2/access_token?xxxx verifyLogin _getToken
3,https://api.weibo.com/2/users/show.json?xxxx verifyLogin _getUserInfo(id用作openid)