- 获取公众号发布过的内容,获取到的数据与实际的不一致,是老的数据,没有新数据
https://developers.weixin.qq.com/doc/offiaccount/Publish/Get_publication_records.html 这个接口,offset 0 count 20 获取到的是历史的数据,最新的获取不到
11-01 - 排查后权限token都是有的,但接口提示无权限
https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html 对于https://api.weixin.qq.com/datacube/getuserread?access_token=ACCESS_TOKEN这个接口请求参数都是对的,token也没过期,显示没权限,验证授权信息也是含有对于权限的,具体信息如下 { "errcode": 48001, "errmsg": "api unauthorized rid: 66f609f1-66d68cf2-03a7e9f8" } 但查询了对应权限是有的 "func_info": [ { "funcscope_category": { "id": 2 }, "confirm_info": { "need_confirm": 1, "already_confirm": 0, "can_confirm": 1 } }, { "funcscope_category": { "id": 3 }, "confirm_info": { "need_confirm": 0, "already_confirm": 0, "can_confirm": 0 } }, { "funcscope_category": { "id": 7 } }, { "funcscope_category": { "id": 9 } }, { "funcscope_category": { "id": 10 } }, { "funcscope_category": { "id": 11 }, "confirm_info": { "need_confirm": 0, "already_confirm": 0, "can_confirm": 0 } }, { "funcscope_category": { "id": 12 } }, { "funcscope_category": { "id": 44 }, "confirm_info": { "need_confirm": 0, "already_confirm": 0, "can_confirm": 0 } }, { "funcscope_category": { "id": 66 } }, { "funcscope_category": { "id": 89 } }, { "funcscope_category": { "id": 172 } } ] 这个token请求图文列表信息都是可以的,如果其他公众号授权后也是可以访问的,所以可以排查程序对接,token无效的问题 查询rid信息获取如下: { "errcode": 0, "errmsg": "ok", "request": { "invoke_time": 1727399730, "cost_in_ms": 85, "request_url": "xxxx此处隐藏避免泄密", "request_body": "", "response_body": "{\"errcode\":48001,\"errmsg\":\"api unauthorized rid: 66f60732-542572d0-448d2c39\"}", "client_ip": "xxxx此处隐藏避免泄密,ip在白名单中" } } rid信息无request body,但实际是有body的,另一个授权公众号查询,body一样,都是可以返回的
09-27