1.淘宝 OAuth2.0 的登录验证与授权:https://blog.csdn.net/u011510825/article/details/50506564/
1)申请app ID 和 app secret (http://my.open.taobao.com/),然后注册应用,这里应该有让你填个回调地址,即redirect_uri(如果没填,也还可以在控制台-应用设置-基本信息,勾选需要商家授权,这时填你的回调地址:www.xxx.com) 2) 开发者通过 https://oauth.taobao.com/authorize 获取用户授权码,即code。参数和示例看原文 3)拿到授权码code后,就可以换取用户基本信息。 用post请求 https://oauth.taobao.com/token?grant_type=authorization_code&response_type=code&client_id=23294542&client_secret=27552d4ac86de9603cd4fe0d125e6062&redirect_uri=http%3A%2F%2Fwww.xxx.com%2F&code=X9XPfI9JVHiTgKME6JyAXDAD315945(填写淘宝服务器返回给你code) 这样你就可以得到类似的数据: { "taobao_user_nick": "taobaonick", "re_expires_in": 0, "expires_in": 7776000, "expire_time": 1459911894299, "r1_expires_in": 1800, "w2_valid": 1452135894299, "w2_expires_in": 0, "w1_expires_in": 1800, "r1_valid": 1452137694299, "r2_valid": 1452135894299, "w1_valid": 1452137694299, "r2_expires_in": 0, "token_type": "Bearer", "refresh_token": "620251524f72a26b6c8ecd1ZZe29bbbxxx", "open_uid": "AAENArTTACOmNcx4Z-_D0qU2", "refresh_token_valid_time": 1452135894299, "access_token": "620141595ca09af54aa5918ZZeafd0c0fe770bb07xxx" }
2.测试时可以使用快速授权工具生成sessionkey:https://open.taobao.com/doc.htm?docId=102635&docType=1
淘宝开放平台php-sdk测试:https://blog.csdn.net/esonbest1234/article/details/50729321
淘宝开放平台php-sdk测试 获取淘宝商品信息(转):https://www.cnblogs.com/sanwenyu/p/4730706.html
新淘客如何申请淘宝联盟网站API接口?并下载SDK包调用API?:http://wsd.591hufu.com/taokelianmeng/256.html
大量淘宝客的相关文章:http://wsd.591hufu.com/taokelianmeng/132.html
阿里云短信接口使用方法:https://www.anji66.net/article/id/43.html
安装ssl证书配置https:https://yq.aliyun.com/articles/641517
tp5 怎么引入淘宝sdk:http://www.thinkphp.cn/topic/57490.html
DWZ:http://www.ninpang.com/archives/379
DWZ2:https://blog.csdn.net/mini_panda/article/details/79862968