Use next_openid to get the next 10000 items. Generally, when there are more than 10000 followers, you do not need to call the URL interface when there are a few followers. in the previous chapter, we will explain how to use open_id to obtain basic user information, so where does open_id come from? It can be seen in the fans list. This topic explains how to obtain a list of fans.
Get fans list can view document http://mp.weixin.qq.com/wiki? T = resource/res_main & id = mp1421140840 & token = & lang = zh_CN
For more information, see next_openid. Generally, when there are more than 10000 followers, you do not need to call the URL interface when there are few followers:
Request method: GET (use https protocol)
Https://api.weixin.qq.com/cgi-bin/user/get? Access_token = ACCESS_TOKEN & next_openid = NEXT_OPENID
The code is as follows:
You can obtain the next 1000 entries based on next_openid until the count value of the obtained data is null.
The above is the development: accesstoken obtains the details of the user fan list tutorial. For more information, see other related articles on php Chinese network!