C/2/users/active/biz
(未显示1个用户的3个中间版本) | |||
第5行: | 第5行: | ||
needAuth=是| | needAuth=是| | ||
rateLimit={{B_rate_limit}}| | rateLimit={{B_rate_limit}}| | ||
− | params={{api_args|uid| | + | params={{api_args|uid|true|string|需要查询的用户ID。}} |
− | {{api_args|sdate| | + | {{api_args|sdate|true|string|开始日期,格式yyyymmdd。}} |
− | {{api_args|edate| | + | {{api_args|edate|true|string|结束日期,格式yyyymmdd。}}| |
result= | result= | ||
<pre> | <pre> | ||
第19行: | 第19行: | ||
active_days_num: "2", | active_days_num: "2", | ||
active_fans_num: "1513" | active_fans_num: "1513" | ||
+ | }, | ||
+ | { | ||
+ | day: "20200525", | ||
+ | active_days_num: "3", | ||
+ | active_fans_num: "1520" | ||
} | } | ||
] | ] | ||
第24行: | 第29行: | ||
</pre>| | </pre>| | ||
− | resultDes | + | resultDes=active_days_num 发博行为天数;用户在180天内,累计有过发布行为的天数,发布行为包括:微博、视频、直播、文章。 |
− | + | active_fans_num 累计活跃粉丝数;用户在180天内的累计活跃粉丝数量(账号去重)。| | |
− | active_fans_num 累计活跃粉丝数;用户在180天内的累计活跃粉丝数量(账号去重)。 | + | useAge=无| |
− | | | + | |
otherInfo=无 | otherInfo=无 | ||
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2020年6月9日 (二) 12:08的最后版本
users/active/biz
用户活跃天数&活跃粉丝数。
URL
https://c.api.weibo.com/2/users/active/biz.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
uid | true | string | 需要查询的用户ID。 |
sdate | true | string | 开始日期,格式yyyymmdd。 |
edate | true | string | 结束日期,格式yyyymmdd。 |
注意事项
无
返回结果
JSON示例
{ errno: 1, msg: "成功", code: "B00001", result: [ { day: "20200524", active_days_num: "2", active_fans_num: "1513" }, { day: "20200525", active_days_num: "3", active_fans_num: "1520" } ] }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
active_days_num 发博行为天数;用户在180天内,累计有过发布行为的天数,发布行为包括:微博、视频、直播、文章。 active_fans_num 累计活跃粉丝数;用户在180天内的累计活跃粉丝数量(账号去重)。
其他
无
文档更新时间: 2020-06-09