1/friendships/followers/all/ids
(以“{{Api_desc_business| uri=friendships/followers/all/ids| desc=根据微博ID获取单条微博内容。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}} | pa...”为内容创建页面) |
|||
第1行: | 第1行: | ||
{{Api_desc_business| | {{Api_desc_business| | ||
uri=friendships/followers/all/ids| | uri=friendships/followers/all/ids| | ||
− | desc= | + | desc=获取用户的全量粉丝ID列表(不受5000条限制) 。| |
httpMethod=GET| | httpMethod=GET| | ||
needAuth=是| | needAuth=是| | ||
− | rateLimit={{B_rate_limit}} | + | rateLimit= |
− | | | + | {{B_rate_limit}}| |
params={{api_args|count|false|int|单页返回的记录条数,默认为50,最大不超过200。}} | params={{api_args|count|false|int|单页返回的记录条数,默认为50,最大不超过200。}} | ||
{{api_args|cursor|false|int|返回结果的游标,下一页用返回值里的next_cursor,上一页用previous_cursor,默认为0。}}| | {{api_args|cursor|false|int|返回结果的游标,下一页用返回值里的next_cursor,上一页用previous_cursor,默认为0。}}| |
2012年4月17日 (二) 18:50的版本
friendships/followers/all/ids
获取用户的全量粉丝ID列表(不受5000条限制) 。
URL
https://c.api.weibo.com/2/friendships/followers/all/ids.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
count | false | int | 单页返回的记录条数,默认为50,最大不超过200。 |
cursor | false | int | 返回结果的游标,下一页用返回值里的next_cursor,上一页用previous_cursor,默认为0。 |
注意事项
- 仅限V用户,否则返回错误信息;
返回结果
JSON示例
{ "ids": [ 9448, 16825, ..... ], "next_cursor":3, "previous_cursor":0, "total_number":100 }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无