C/2/attitudes/exists/biz-en
(以“{{Api_desc_business| uri=attitudes/exists/biz| desc=批量获取当前用户对微博是否表态过。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| pa...”为内容创建页面) |
|||
第3行: | 第3行: | ||
desc=批量获取当前用户对微博是否表态过。| | desc=批量获取当前用户对微博是否表态过。| | ||
httpMethod=GET| | httpMethod=GET| | ||
− | needAuth= | + | needAuth=true| |
rateLimit={{B_rate_limit}}| | rateLimit={{B_rate_limit}}| | ||
params={{api_args|ids|true|string|微博的ID,多个之间用逗号分隔,最多不超过200个。}}| | params={{api_args|ids|true|string|微博的ID,多个之间用逗号分隔,最多不超过200个。}}| | ||
第21行: | 第21行: | ||
} | } | ||
</pre>| | </pre>| | ||
− | resultDes= | + | resultDes=none| |
− | useAge= | + | useAge=none| |
− | otherInfo= | + | otherInfo=none |
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2018年7月24日 (二) 17:47的版本
attitudes/exists/biz
批量获取当前用户对微博是否表态过。
URL
https://c.api.weibo.com/2/attitudes/exists/biz.json
支持格式
JSON
HTTP请求方式
GET
是否需要登录
true
关于登录授权,参见 如何登录授权
访问授权限制
请求所有商业接口:
- 50000次/小时/IP;
- 50000次/小时/IP;
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | false | string | 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。 |
access_token | false | string | 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。 |
ids | true | string | 微博的ID,多个之间用逗号分隔,最多不超过200个。 |
注意事项
none
返回结果
JSON示例
//成功返回 { "3488846782126089": 1, "3488846782246082": 0 } //失败返回 { "request": "/2/attitudes/exists.json", "error_code": "243XX", "error": "error message." }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
none
其他
none