小智 3

文档: http: //open.weibo.com/wiki/2/statuses/count

API请求地址: https: //api.weibo.com/2/statuses/count.json

API请求方式:GET

API请求参数:

  • access_token(必需):通过OAuth获取。
  • ids(必填):要查询的微博id。它通过逗号连接 id,并且可以超过 100 个 id。

API响应:

[
    {
        "id": "32817222",
        "comments": "16",
        "reposts": "38"
    },
   ...
]
Run Code Online (Sandbox Code Playgroud)

API响应参数:

  • id (int64):微博ID。
  • comments (int) : 评论数
  • reposts (int) : 被分享内容的数量
  • 态度 (int):未使用