一、 微信开发平台
微信公众平台 https://mp.weixin.qq.com/
可选择公众平台账号(服务号 订阅号 小程序)登录(需要个人或公司资质申请)
微信公众平台测试申请https://mp.weixin.qq.com/debug/cgi-bin/sandbox?t=sandbox/login
接口测试https://mp.weixin.qq.com/debug/
微信官方文档 https://developers.weixin.qq.com/doc/
微信开放社区 https://developers.weixin.qq.com/community/develop/mixflow
二、微信第三方登录注册
理解 OAuth 2.0 协议
https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect
获取code后,请求以下链接获取access_token: https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
获取第二步的refresh_token后,请求以下链接获取access_token: https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=APPID&grant_type=refresh_token&refresh_token=REFRESH_TOKEN
-http:GET(请使用https协议) https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN
三、 微信支付接口
四、微信订阅消息接口
五、微信二维码之迷惑
本文为彼特城原创文章,转载无需和我联系,但请注明来自彼特城博客https://pcity.top
最新评论