2/search/suggestions/at users/en
search/suggestions/at_users
Suggestions for '@username'.
URL
https://api.weibo.com/2/search/suggestions/at_users.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. |
q | true | string | Keyword for searching.It must be encoded by URLencoding. |
count | false | int | The returned count.Default is 10.The max count for followers is 1000.The max count for friends is 2000. |
type | true | int | Return the suggestions by the type. 0:Friends; 1:Followers; |
range | false | int | Return the suggestions by the range.0:Only the friends' nickname; 1:Only the friends' remark; 2:Both; Default is 2. |
Notes
None
Response
JSON Example
[ { "uid": 1265020392, "nickname": "zaku", "remark": "" }, ... ]
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 20 January 2012