C/2/attitudes/exists/biz-en

跳转到: 导航, 搜索
 
(未显示1个用户的3个中间版本)
第1行: 第1行:
 
{{Api_desc_business_en|
 
{{Api_desc_business_en|
 
uri=attitudes/exists/biz|
 
uri=attitudes/exists/biz|
desc=批量获取当前用户对微博是否表态过。|
+
desc=Return batch results whether current logged-in user liked the post|
 
httpMethod=GET|
 
httpMethod=GET|
 
needAuth=true|
 
needAuth=true|
rateLimit={{B_rate_limit}}|
+
rateLimit={{B_rate_limit_en}}|
params={{api_args|ids|true|string|微博的ID,多个之间用逗号分隔,最多不超过200个。}}|
+
params={{api_args|ids|true|string|IDs of the searched posts, should be less than 200, separated by half-width comma.}}|
 
result=
 
result=
 
<pre>
 
<pre>
//成功返回
+
//Succeed
 
{
 
{
 
     "3488846782126089": 1,
 
     "3488846782126089": 1,
第14行: 第14行:
 
}
 
}
 
   
 
   
//失败返回
+
//Failed
 
{
 
{
 
     "request": "/2/attitudes/exists.json",
 
     "request": "/2/attitudes/exists.json",

2018年7月24日 (二) 17:57的最后版本

attitudes/exists/biz

Return batch results whether current logged-in user liked the post

URL

https://c.api.weibo.com/2/attitudes/exists/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;

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.
ids true string IDs of the searched posts, should be less than 200, separated by half-width comma.

Notes

none

Response

JSON Example

//Succeed
{
    "3488846782126089": 1,
    "3488846782246082": 0
}
 
//Failed
{
    "request": "/2/attitudes/exists.json",
    "error_code": "243XX",
    "error": "error message."
}

See the Error Code Description for the error information details.

Field Description

none

Others

none

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


文档更新时间: 2018-07-24
api评价