C/2/attitudes/show

跳转到: 导航, 搜索
(以“{{Api_desc_business| uri=attitudes/show| desc=根据微博ID返回某条微博的赞列表。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| params={{api...”为内容创建页面)
 
(清空页面)
 
第1行: 第1行:
{{Api_desc_business|
+
 
uri=attitudes/show|
+
desc=根据微博ID返回某条微博的赞列表。|
+
httpMethod=GET|
+
needAuth=是|
+
rateLimit={{B_rate_limit}}|
+
params={{api_args|id|true|int64|微博ID。}}
+
{{api_args|page|false|int|返回结果的页码,默认为1。}}
+
{{api_args|count|false|int|返回结果的条数数量,最大不超过200,默认为50。}}
+
{{api_args|since_id|false|int64|若指定此参数,则只返回ID比since_id大的赞信息(即比since_id发表时间晚的赞信息),默认为0。}}
+
{{api_args|max_id|false|int64|若指定此参数,则返回ID小于或等于max_id的赞信息,默认为0。}}|
+
result=
+
<pre>
+
//成功返回
+
{
+
    "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信息
+
            }
+
        },
+
        ...
+
    ],
+
    "smile_count": 10,
+
    "naughty_count": 20,
+
    "surprise_count": 10,
+
    "sad_count": 21,
+
    "heart_count": 10,
+
    "hasvisible": true,
+
    "previous_cursor": 0,
+
    "next_cursor": 3479224092555669,
+
    "total_number": 71
+
}
+
+
//失败返回
+
{
+
    "request": "/2/attitudes/show.json",
+
    "error_code": "243XX",
+
    "error": "error message."
+
}
+
</pre>|
+
resultDes=无|
+
useAge=无|
+
otherInfo=无
+
}}{{#a:showgrade}}
+

2016年6月8日 (三) 16:07的最后版本

文档更新时间: 2016-06-08