获取用户增减数据(getusersummary)
https://api.weixin.qq.com/datacube/getusersummary?access_token=ACCESS_TOKEN
-----------
获取累计用户数据(getusercumulate)
https://api.weixin.qq.com/datacube/getusercumulate?access_token=ACCESS_TOKEN
如上两个统计接口请求时,返回
{
"errcode": 40001,
"errmsg": "invalid credential, access_token is invalid or not latest hint: [2Yn_30807r234]"
}
同样的token去【网页测试工具】请求 菜单信息,可以正常返回,请问是什么问题呢
获取用户信息和公众号信息 所用的access_token不一样 ,请求的接口不一样,虽然都叫access_token ,之前也在这个地方卡了很久,如果报40001,检查一下是否是接口请求的不对
公众1653号获取access_token:https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html
已经做成2分钟就刷新一次怎么还会过期?
invalid credential, access_token 看token是不是过期了