Tools Tags
directory
Tools Tags
Get user list
Get the user list

| Parameter | Is it required | Description |
| access_token | Yes | Call interface credentials |
| next_openid | is the | first OPENID pulled. If not filled in, it will be pulled from the beginning by default |
Return instructions
Return JSON data packet when correct:
| Parameters | Description |
| total | Total number of users following this public account |
| count | The number of OPENIDs pulled, the maximum value is 10000 |
| data | List data, OPENID The list |
| next_openid | Pull the OPENID of the last user in the list |
Return JSON data packet in case of error (example is invalid AppID error):
Attachment: When the number of followers exceeds 10,000
When the number of followers of the public account exceeds 10,000, you can fill in the value of next_openid and pull the list multiple times to meet the needs.
Specifically, when calling the interface, the next_openid value returned from the previous call is used as the next_openid value in the next call.
Examples are as follows:
{
"total":23000,
"count":10000,
"data":{"
openid":[
"OPENID1 ",
"OPENID2",
...,
"OPENID10000"
]
},
"next_openid":"OPENID10000"
}https://api .weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID1Return result:
{
"total":23000,
"count":10000,
"data ":{
"openid":[
"OPENID10001",
"OPENID10002",
...,
"OPENID20000"
]
},
"next_openid":"OPENID20000"
}https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID2 returns the result (when the follower list has been returned, the next_openid returned is Empty):
{
"total":23000,
"count":3000,
"data":{"
"openid":[
"OPENID20001",
"OPENID20002",
"OPENID20002",
"OPENID23000"
"OPENID23000"
Hot AI Tools
Undress images for free
Online AI tool for removing clothes from photos.
AI-powered app for creating realistic nude photos
AI image generator for creative art from text prompts.
AI powered investment research for smarter decisions
Hot Article
Hot Topics
20459
7
13602
4
Popular tool
Easy-to-use and free code editor
Chinese version, very easy to use
Powerful PHP integrated development environment
Visual web development tools
God-level code editing software (SublimeText3)












![Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]](https://img.php.cn/upload/course/000/000/035/5d27fb58823dc974.jpg)