C/2/statuses/count sp/biz
(以“{{Api_desc_business| uri=statuses/count_sp/biz| desc=批量获取指定授权微博的转发数、评论数、赞数、阅读数| httpMethod=GET| needAuth=true| rate...”为内容创建页面) |
|||
(未显示1个用户的1个中间版本) | |||
第37行: | 第37行: | ||
} | } | ||
</pre>| | </pre>| | ||
− | + | resultDes=无| | |
useAge=*如果传入的微博不是该授权用户发出的,则不返回相关数据。| | useAge=*如果传入的微博不是该授权用户发出的,则不返回相关数据。| | ||
otherInfo=无 | otherInfo=无 | ||
− | }} | + | }}{{#a:showgrade}} |
2017年6月27日 (二) 16:12的最后版本
statuses/count_sp/biz
批量获取指定授权微博的转发数、评论数、赞数、阅读数
URL
https://c.api.weibo.com/2/statuses/count_sp/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,英文半角逗号分隔,最大100。 |
注意事项
- 如果传入的微博不是该授权用户发出的,则不返回相关数据。
返回结果
JSON示例
//成功返回 [ { "id": 3468865533114224, "comments": 37495, "reposts": 39118, "attitudes": 0, // 表示对这条微博的表态数 "reads": 132 }, { "id": 3468815805141776, "comments": 8551, "reposts": 23858, "attitudes": 0, "reads": 132 } ] //失败返回 { "request": "/2/statuses/count_sp.json", "error_code": "201XX", "error": "error message." }
关于错误返回值与错误代码,参见 错误代码说明
字段说明
无
其他
无
文档更新时间: 2017-06-27