微信公众号云开发无法通过网页授权调用拉取用户信息接口?

发布于 6 年前作者 linxiuying10070 次浏览最后编辑 6 年前来自 ask

文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html

接口:https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN

access_token从云开发startLogin获取的回调URL中获取。但是没有用。

报错:{"errcode":40014,"errmsg":"invalid access_token, rid: 61d6befb-644dc054-3905b862"}
0 回复
暂无回复