首先第三方已获得公众号授权,获取到了正确的authorizer_access_token;
1.测试调用粉丝用户信息:https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN
替换authorizer_access_token之前可以正常获取用户信息;
2.测试调用模板消息列表接口:https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=ACCESS_TOKEN
疑问:用户接口的结果说明授权的token没问题,模板接口又说token无效,这是什么情况?
说明:已授权的权限集ID:1,15,4,7,2,3,11,6,24 ID=7包括了模板消息接口;
你好,经检查,这次调用的请求包为NULL,请仔细检查下请求的参数,麻烦参考返回码说明文档哈~https://developers.weixin.qq.com/doc/oplatform/Return_codes/Return_code_descriptions_new.html