进行公众号授权之后,参考公众平台文档调取公众号接口,提示 “40001 invalid credential, access_token is invalid or not latest hint: [EGO0oA0536vr47!]
” 错误,access_token 是刚刚授权时获取的,做网页授权也正常, 就是主动调用公众号接口失败
比如:获取用户列表
HTTP GET:
https://api.weixin.qq.com/cgi-bin/user/get?access_token=
HTTP RESPONSE:
{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest hint: [EGO0oA0536vr47!]"}