C/2/attitudes/show/biz

跳转到: 导航, 搜索

attitudes/show/biz

根据微博ID返回某条微博的赞列表。

URL

https://c.api.weibo.com/2/attitudes/show/biz.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


关于登录授权,参见 如何登录授权

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。
id true int64 微博ID。
page false int 返回结果的页码,默认为1。
count false int 返回结果的条数数量,最大不超过200,默认为50。
since_id false int64 若指定此参数,则只返回ID比since_id大的赞信息(即比since_id发表时间晚的赞信息),默认为0。
max_id false int64 若指定此参数,则返回ID小于或等于max_id的赞信息,默认为0。

注意事项

返回结果

JSON示例

//成功返回
{
    "attitudes": [
        {
            "id": 347931327225545,
            "created_at": "Wed Aug 15 15:39:50 +0800 2012",
            "attitude": "heart",
            "last_attitude": "heart",
            "source": "<a href=\"http://meyou.weibo.com\" rel=\"nofollow\">密友</a>",
            "user": {
                // user信息
            },
            "status": {
                // status信息
            }
        },
        ...
    ],
    "hasvisible": true,
    "previous_cursor": 0,
    "next_cursor": 3479224092555669,
    "total_number": 71
}
 
//失败返回
{
    "request": "/2/attitudes/show.json",
    "error_code": "243XX",
    "error": "error message."
}

关于错误返回值与错误代码,参见 错误代码说明

字段说明

其他



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


文档更新时间: 2016-06-08
api评价