2/statuses/querymid/en
(Created page with '{{api_desc_v2_en| uri=statuses/querymid| desc=Return the mid by the ID of the weibo(comment,direct message).| httpMethod=GET| needAuth=False| level=Normal| rateLimit=true| params…') |
|||
第7行: | 第7行: | ||
rateLimit=true| | rateLimit=true| | ||
params={{api_args|id|true|int64|The ID of the weibo(comment,direct message) that is going to be queried. These should be separated by simeangle comma, and are limited by 20 ID per call.}} | params={{api_args|id|true|int64|The ID of the weibo(comment,direct message) that is going to be queried. These should be separated by simeangle comma, and are limited by 20 ID per call.}} | ||
− | {{api_args|type|true|int|Returns the mid | + | {{api_args|type|true|int|Returns the mid by the type.1:weibo; 2:comment; 3:direct message; The default value is 1.}} |
{{api_args|is_batch|false|int|Whether it is batch. 0:no; 1:yes; The default value is 0.}}| | {{api_args|is_batch|false|int|Whether it is batch. 0:no; 1:yes; The default value is 0.}}| | ||
result= | result= |
2011年12月27日 (二) 14:48的版本
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) that is going to be queried. These should be separated by simeangle comma, and are limited by 20 ID per call. |
type | true | int | Returns 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