C/2/friendships/followers/unfollower list
第1行: | 第1行: | ||
{{Api_desc_business| | {{Api_desc_business| | ||
uri=friendships/followers/unfollower_list| | uri=friendships/followers/unfollower_list| | ||
− | desc= | + | desc=获取最长近90天内取消关注该账户的用户列表| |
httpMethod=GET| | httpMethod=GET| | ||
needAuth=是| | needAuth=是| | ||
第7行: | 第7行: | ||
params= | params= | ||
{{api_args|uid|false|int64|需要查询的用户ID。默认为当前登陆用户。}} | {{api_args|uid|false|int64|需要查询的用户ID。默认为当前登陆用户。}} | ||
− | {{api_args|time_span|true|int|查询时间范围。1:近7天;2:近30天;3:近90天}} | + | <!--{{api_args|time_span|true|int|查询时间范围。1:近7天;2:近30天;3:近90天}}The format of the starting time is xxxx-xx-xx.--> |
+ | {{api_args|starttime|true|int|搜索范围起始时间,格式为xxxx-xx-xx。}} | ||
+ | {{api_args|endtime|true|int|搜索范围结束时间,格式为xxxx-xx-xx。}} | ||
{{api_args|page|false|int|返回结果的页码,默认为1。}} | {{api_args|page|false|int|返回结果的页码,默认为1。}} | ||
{{api_args|page_count|false|int|返回结果总页数。}} | {{api_args|page_count|false|int|返回结果总页数。}} | ||
第36行: | 第38行: | ||
</pre>| | </pre>| | ||
resultDes=无| | resultDes=无| | ||
− | useAge= | + | useAge=获取最长最近90天内的取消关注用户列表。| |
− | otherInfo= | + | otherInfo= |
+ | * 返回结果为所选时间段内最近一次的取消关注时间,及该取消关注时间之前的最近的一次关注时间; | ||
+ | * 如果该最近关注时间早于2014年1月1日,则最近关注时间返回结果为2014年1月1日。 | ||
}} | }} |
2016年1月8日 (五) 14:28的版本
friendships/followers/unfollower_list
获取最长近90天内取消关注该账户的用户列表
URL
https://c.api.weibo.com/2/friendships/followers/unfollower_list.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
uid | false | int64 | 需要查询的用户ID。默认为当前登陆用户。 |
starttime | true | int | 搜索范围起始时间,格式为xxxx-xx-xx。 |
endtime | true | int | 搜索范围结束时间,格式为xxxx-xx-xx。 |
page | false | int | 返回结果的页码,默认为1。 |
page_count | false | int | 返回结果总页数。 |
注意事项
获取最长最近90天内的取消关注用户列表。
返回结果
JSON示例
{ "uid": 10438, "result": [ { "uid": "5574029246", "unfollow_time": "2015-09-16", "folllow_time": "2015-06-16" }, { "uid": "1898267781", "unfollow_time": "2015-11-1", "folllow_time": "2014-03-15" }, ... ], "total_number": 3021 "page": 2 "page_count": 3 }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
- 返回结果为所选时间段内最近一次的取消关注时间,及该取消关注时间之前的最近的一次关注时间;
- 如果该最近关注时间早于2014年1月1日,则最近关注时间返回结果为2014年1月1日。