QQ,微信第三方授权登录、分享

登录pc

微信登录

找后台拿链接

QQ登录

https://graph.qq.com/oauth2.0/show?which=Login&display=pc&state=当前时间戳&response_type=code&client_id=授权id&redirect_uri=回调地址

<a href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&state=当前时间戳&response_type=code&client_id=授权id&redirect_uri=回调地址">

分享pc

QQ 分享

https://connect.qq.com/widget/shareqq/index.html?url=回调地址&title=分享标题&desc=分享文字描述&pics=分享想要展示的图片

<a href="https://connect.qq.com/widget/shareqq/index.html?url=回调地址&title=分享标题&desc=分享文字描述&pics=分享想要展示的图片"></a>

参考资料
如何在自己的网站上实现QQ授权登录 https://cloud.tencent.com/info/5a21ae83ad3031a5b177bd876aacbd7e.html

猜你喜欢

转载自blog.csdn.net/qq_15238979/article/details/90241662