2/statuses/queryid/en

跳转到: 导航, 搜索

statuses/queryid

Return the ID by the mid of the weibo(comment,direct message).

URL

https://api.weibo.com/2/statuses/queryid.json

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

false
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.
mid true string The mid of the weibo(comment,direct message) to be queried. These should be separated by simeangle comma, and are limited by 20 mid per call.
type true int Return the id by the type.1:weibo; 2:comment; 3:direct message; The default value is 1.
is_batch false int Whether it is batch. 0:no; 1:yes; The default value is 0.
inbox false int This patameter is valid when the mid is the direct message. 0:Outbox; 1:Inbox; The default value is 0.
isBase62 false int Whether the mid is base62 encoded. 0:no; 1:yes; The default value is 0.

Notes

The mid “3z4efAo4lk” is the mid that is base62 encoded

Response

JSON Example

{
    "id": "7987885345"
}

See the Error Code Description for the error information details.

Field Description

None

Others

None



Language: [[{{{2/uri}}}|中文]]


文档更新时间: 2012-02-01