获取所有关注公众号的用户列表后,最后一个openid为oa0-Q0wKVCS1uNq3snCFLmogX7-E
接着两次调用https://api.weixin.qq.com/cgi-bin/user/get?next_openid=oa0-Q0wKVCS1uNq3snCFLmogX7-E&access_token=***,比如间隔30分钟后再次调用
=={'total': 1015, 'count': 0, 'next_openid': ''}==
=={'total': 1025, 'count': 0, 'next_openid': ''}==
为何total值有增加,却没有openid列表? 从日志看确实有新增用户关注公众号
你好,麻烦提供下完整的请求包,回包,原始ID和请求时间点
2023-08-24 08:49:24,684 [MainThread:140022553716544] [urllib3.connectionpool:465] [connectionpool:_make_request] [DEBUG]- https://api.weixin.qq.com:443 "GET /cgi-bin/user/get?access_token=71_s9iOBJNNItbJ526pkoQeIB5D0-K5_RQZOw35Z1t0WFP-if5ECHDVew2c8-42wTm4yEB-GJ1f7uksYEXXt3ayYRx3LX_V-851At77zzCgvnTcQnTDmcZPgL3yOPESMRdAJA&next_openid=oa0-Q0wKVCS1uNq3snCFLmogX7-E HTTP/1.1" 200 43
==empty: {'next_openid': '', 'total': 1140, 'count': 0}==
next_openid是昨天调用这个接口返回的最后一个openid。
今早来再次调用,新增的还是拉取不到