C/2/friendships/followers/active num
(未显示1个用户的3个中间版本) | |||
第1行: | 第1行: | ||
{{Api_desc_business| | {{Api_desc_business| | ||
uri=friendships/followers/active_num| | uri=friendships/followers/active_num| | ||
− | desc= | + | desc=指定日期用户活跃粉丝数。| |
httpMethod=GET| | httpMethod=GET| | ||
needAuth=是| | needAuth=是| | ||
rateLimit={{B_rate_limit}}| | rateLimit={{B_rate_limit}}| | ||
− | params={{api_args| | + | params={{api_args|uid|true|string|指定用户uid。}} |
− | + | {{api_args|sdate|false|int|开始时间。}} | |
− | + | {{api_args|edate|false|int|结束时间。}}| | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{api_args| | + | |
− | + | ||
result= | result= | ||
<pre> | <pre> | ||
第20行: | 第13行: | ||
{ | { | ||
errno: 1, | errno: 1, | ||
− | msg: "成功", | + | msg: "成功", |
− | code: "B00001", | + | code: "B00001", |
− | result: { | + | result: { |
− | total_fans_num: { | + | total_fans_num: { |
− | 2019-04-14: "0", | + | 2019-04-14: "0", |
− | 2019-04-15: "0" | + | 2019-04-15: "0" |
− | }, | + | }, |
− | active_fans: { | + | active_fans: { |
− | 2019-04-14: "895", | + | 2019-04-14: "895", |
− | 2019-04-15: "897" | + | 2019-04-15: "897" |
− | }, | + | }, |
− | loyal_fans: { | + | loyal_fans: { |
− | 2019-04-14: "0", | + | 2019-04-14: "0", |
− | 2019-04-15: "0" | + | 2019-04-15: "0" |
− | }, | + | }, |
− | total_fans_num_online: { | + | total_fans_num_online: { |
− | 2019-04-14: "0", | + | 2019-04-14: "0", |
− | 2019-04-15: "0" | + | 2019-04-15: "0" |
− | } | + | } |
− | } | + | } |
} | } | ||
</pre>| | </pre>| | ||
resultDes=无| | resultDes=无| | ||
− | useAge=* | + | useAge=*只能获取蓝v用户的活跃粉丝数| |
− | + | ||
− | + | ||
otherInfo=无 | otherInfo=无 | ||
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2019年4月25日 (四) 18:07的最后版本
friendships/followers/active_num
指定日期用户活跃粉丝数。
URL
https://c.api.weibo.com/2/friendships/followers/active_num.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
uid | true | string | 指定用户uid。 |
sdate | false | int | 开始时间。 |
edate | false | int | 结束时间。 |
注意事项
- 只能获取蓝v用户的活跃粉丝数
返回结果
JSON示例
//成功返回 { errno: 1, msg: "成功", code: "B00001", result: { total_fans_num: { 2019-04-14: "0", 2019-04-15: "0" }, active_fans: { 2019-04-14: "895", 2019-04-15: "897" }, loyal_fans: { 2019-04-14: "0", 2019-04-15: "0" }, total_fans_num_online: { 2019-04-14: "0", 2019-04-15: "0" } } }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无
文档更新时间: 2019-04-25