Statuses/counts
目录 |
statuses/counts
批量统计微薄的评论数,转发数.单次最多获取100个。
URL:
http://api.t.sina.com.cn/statuses/counts.format
格式:
xml, json
是否需要登录:
GET
请求数限制:
true, 对用户有限制
调用频率限制:
false
请求参数
- ids. 必填参数. 微薄ID号列表,用逗号隔开
o Example: http://api.t.sina.com.cn/statuses/counts.xml?ids=32817222,214672651
返回:
XML 格式样例(部分内容删减):
<?xml version="1.0" encoding="UTF-8"?> <counts> <count> <id>32817222</id> <comments type="integer">10</comments> <reports type="integer">21</reports > </count> <count> <id>214672651</id> <comments type="integer">123</comments> <reports type="integer">129</reports > </count> </counts>
使用示例:
curl -u user:password http://api.t.sina.com.cn/statuses/counts.xml