friendships/friends/bilateral/sort_interactive
获取双向关注人最近联系列表
URL
https://api.weibo.com/2/friendships/friends/bilateral/sort_interactive.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
访问级别:高级接口(需要授权)
频次限制:是
关于频次限制,参见 接口访问权限说明
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
access_token | true | string | 采用OAuth授权方式为必填参数,OAuth授权后获得。 |
uid | false | int64 | 返回此uid双向关注人的排序结果。默认为当前用户。 |
count | false | int | 每页返回的最大记录数,最大不能超过200,默认为50。 |
page | false | int | 返回结果的页码,默认为1。 |
trim_status | false | int | user中的status信息开关, 1:user中的status字段仅返回status_id, 0:返回完整status信息。默认trim_status为1。 |
注意事项
调用样例及调试工具
返回结果
JSON示例
{ "users": [ { "id": 1870164840, "idstr": "1870164840", "screen_name": "内草", "name": "内草", "province": "43", "city": "1", "location": "湖南 长沙", "description": "说谎的人", "url": "", "profile_image_url": "http://tp1.sinaimg.cn/1870164840/50/1289028468/0", "profile_url": "u/1870164840", "domain": "", "weihao": "", "gender": "f", "followers_count": 534, "friends_count": 359, "statuses_count": 2319, "favourites_count": 42, "created_at": "Sat Nov 06 15:24:47 +0800 2010", "following": true, "allow_all_act_msg": false, "geo_enabled": true, "verified": false, "verified_type": -1, "remark": "芮洁虹", "status_id": 3471881875357490, "allow_all_comment": true, "avatar_large": "http://tp1.sinaimg.cn/1870164840/180/1289028468/0", "verified_reason": "", "follow_me": true, "online_status": 0, "bi_followers_count": 35, "lang": "zh-cn", "level": 1, "type": 1, "badge": { "kuainv": { "level": 0 }, "uc_domain": 0, "enterprise": 0, "anniversary": 0 } } ], "total_number": 78 }
关于错误返回值与错误代码,参见 错误代码说明
返回字段说明
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
id | int64 | 用户UID |
idstr | string | 字符串型的用户UID |
screen_name | string | 用户昵称 |
name | string | 友好显示名称 |
province | int | 用户所在省级ID |
city | int | 用户所在城市ID |
location | string | 用户所在地 |
description | string | 用户个人描述 |
url | string | 用户博客地址 |
profile_image_url | string | 用户头像地址(中图),50×50像素 |
profile_url | string | 用户的微博统一URL地址 |
domain | string | 用户的个性化域名 |
weihao | string | 用户的微号 |
gender | string | 性别,m:男、f:女、n:未知 |
followers_count | int | 粉丝数 |
friends_count | int | 关注数 |
statuses_count | int | 微博数 |
favourites_count | int | 收藏数 |
created_at | string | 用户创建(注册)时间 |
following | boolean | 暂未支持 |
allow_all_act_msg | boolean | 是否允许所有人给我发私信,true:是,false:否 |
geo_enabled | boolean | 是否允许标识用户的地理位置,true:是,false:否 |
verified | boolean | 是否是微博认证用户,即加V用户,true:是,false:否 |
verified_type | int | 暂未支持 |
remark | string | 用户备注信息,只有在查询用户关系时才返回此字段 |
status | object | 用户的最近一条微博信息字段 详细 |
allow_all_comment | boolean | 是否允许所有人对我的微博进行评论,true:是,false:否 |
avatar_large | string | 用户头像地址(大图),180×180像素 |
avatar_hd | string | 用户头像地址(高清),高清头像原图 |
verified_reason | string | 认证原因 |
follow_me | boolean | 该用户是否关注当前登录用户,true:是,false:否 |
online_status | int | 用户的在线状态,0:不在线、1:在线 |
bi_followers_count | int | 用户的互粉数 |
lang | string | 用户当前的语言版本,zh-cn:简体中文,zh-tw:繁体中文,en:英语 |
其他
无
相关问题
到 帮助中心 查看更多问题或提问