批量获取用户的粉丝数、关注数、微博数
https://api.weibo.com/2/users/counts.json
JSON
GET
是
关于登录授权,参见 如何登录授权
访问级别:普通接口
频次限制:是
关于频次限制,参见 接口访问权限说明
| 必选 | 类型及范围 | 说明 | |
|---|---|---|---|
| access_token | true | string | 采用OAuth授权方式为必填参数,OAuth授权后获得。 |
| uids | true | string | 需要获取数据的用户UID,多个之间用逗号分隔,最多不超过100个。 |
接口升级后,对未授权本应用的uid,将无法获取其粉丝数、关注数及微博数。
[
{
"id": "1404376560",
"followers_count": "1369",
"friends_count": "526",
"statuses_count": "2908"
},
...
]
关于错误返回值与错误代码,参见 错误代码说明
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| id | int64 | 微博ID |
| followers_count | int | 粉丝数 |
| friends_count | int | 关注数 |
| statuses_count | int | 微博数 |
| private_friends_count | int | 暂未支持 |
无
到 帮助中心 查看更多问题或提问