C/2/statuses/querymid/biz-en
第5行: | 第5行: | ||
needAuth=true| | needAuth=true| | ||
rateLimit={{B_rate_limit_en}}| | rateLimit={{B_rate_limit_en}}| | ||
− | params={{api_args|id|true|string|Weibo ID to be queried. For batch queries, | + | params={{api_args|id|true|string|Weibo ID to be queried. For batch queries, ID should be separated by commas with the upper limit number of 20.}} |
{{api_args|type|true|int|Type pf content. 1:weibo status, 2:comment, 3:direct message. Default value is 1. }} | {{api_args|type|true|int|Type pf content. 1:weibo status, 2:comment, 3:direct message. Default value is 1. }} | ||
{{api_args|is_batch|false|int| Whether to use batch queries. 0: not use 1: use. Default value is 0.}}| | {{api_args|is_batch|false|int| Whether to use batch queries. 0: not use 1: use. Default value is 0.}}| |
2017年8月2日 (三) 15:01的最后版本
statuses/querymid/biz
Return the weibo MID through weibo ID.
URL
https://c.api.weibo.com/2/statuses/querymid/biz.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
Request all APIs:
- 50000/hour/IP;
- 50000/hour/IP;
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 | string | Weibo ID to be queried. For batch queries, ID should be separated by commas with the upper limit number of 20. |
type | true | int | Type pf content. 1:weibo status, 2:comment, 3:direct message. Default value is 1. |
is_batch | false | int | Whether to use batch queries. 0: not use 1: use. 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
文档更新时间: 2017-08-02