2/statuses/querymid/en

Jump to: navigation, search

statuses/querymid

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

URL

https://api.weibo.com/2/statuses/querymid.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.
id true int64 The ID of the weibo(comment,direct message) to be queried. These should be separated by simeangle comma, and are limited by 20 ID per call.
type true int Return the mid 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.

Notes

None

Response

JSON Example

{
    "mid": "8Ras3qlz"
}

See the Error Code Description for the error information details.

Field Description

None

Others

None



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


文档更新时间: 31 January 2012