2/friendships/friends/bilateral/ids/en
friendships/friends/bilateral/ids
Return the ID list of the users that are following the specified user and are being followed by the specified user.
URL
https://api.weibo.com/2/friendships/friends/bilateral/ids.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:Normal
Count Limitation:true
See the Interface Access Rights Statement for the request count limitation details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
uid | true | int64 | User ID to be specified. |
count | false | int | The returned count for every page.Default is 50. The max value is 2000. |
page | false | int | The returned page.Default is 1. |
sort | false | int | Return the ID by the sort type. 0: time sequence for following; Default is 0. |
Notes
Currently only supports one kind of sort type.
Response
JSON Example
{ "ids": [ 1726475555, 1404376560, 1233616152, ... ], "total_number": 668 }
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 2012-01-10