Statuses/comments to me
第263行: | 第263行: | ||
... | ... | ||
] | ] | ||
− | </pre>| | + | </pre> |
+ | {{Param_comment}} | ||
+ | {{Param_user}} | ||
+ | {{Param_status}}| | ||
useAge=无| | useAge=无| | ||
otherInfo=无 | otherInfo=无 | ||
}} | }} |
2010年12月1日 (三) 14:40的最后版本
目录 |
statuses/comments_to_me
返回当前登录用户收到的评论
URL
http://api.t.sina.com.cn/statuses/comments_to_me.(json%7Cxml)
支持格式
XML/JSON
HTTP请求方式
GET
是否需要登录
true
关于授权机制,参见授权机制声明
请求数限制
true
关于请求数限制,参见接口访问权限说明
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | true | string | 申请应用时分配的AppKey,调用接口时候代表应用的唯一身份。(采用OAuth授权方式不需要此参数) |
since_id | false | int64 | 若指定此参数,则只返回ID比since_id大的评论(比since_id发表时间晚)。 |
max_id | false | int64 | 若指定此参数,则返回ID小于或等于max_id的评论 |
count | false | int,默认值20,最大值200。 | 单页返回的记录条数。 |
page | false | int,默认值1。 | 返回结果的页码。 |
注意事项
无
返回结果
XML示例
<?xml version="1.0" encoding="UTF-8"?> <comments> <comment> <created_at>Tue Sep 21 11:40:27 +0800 2010</created_at> <id>3425138539</id> <text>问候朋友。互粉互助。</text> <user> <id>1621936061</id> <screen_name>李剑雄</screen_name> <name>李剑雄</name> <province>11</province> <city>1000</city> <location>北京</location> <description>踏实前进的姿态,对世界发自内心的热爱,应是生活精髓所在</description> <url>http://1</url> <profile_image_url>http://tp2.sinaimg.cn/1621936061/50/1290356551/1</profile_image_url> <domain>lijianxiong</domain> <gender>m</gender> <followers_count>3587</followers_count> <friends_count>1492</friends_count> <statuses_count>0</statuses_count> <favourites_count>0</favourites_count> <created_at>Fri Oct 23 00:00:00 +0800 2009</created_at> <following>false</following> <verified>true</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> <status> <created_at>Sun Nov 28 18:52:07 +0800 2010</created_at> <id>3940645165</id> <text>这部影片的成功之处在于,回归人类之本性,食物,性,爱,以及信仰,是人之安身立命之原动力。这部影片给我的另外体悟是,观照自己的内心,正确的面对自己。我们是自己最大的敌人,也是自己最好的朋友。</text> <source> <a href="http://t.sina.com.cn">新浪微博</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <retweeted_status> <created_at>Sun Nov 28 17:02:24 +0800 2010</created_at> <id>3938587127</id> <text>在看影片《美食、祈祷和恋爱》。有时候,改变生活需要内心的决绝,不过一旦你迈出去,也无所谓逝去。同样,当生活的改变来临,不要害怕,流水不腐,改变有时可以成就你的沉思,和新一轮的成长。</text> <source> <a href="http://t.sina.com.cn">新浪微博</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <thumbnail_pic>http://ww3.sinaimg.cn/thumbnail/60acc7bdjw6dbtr5u7riij.jpg</thumbnail_pic> <bmiddle_pic>http://ww3.sinaimg.cn/bmiddle/60acc7bdjw6dbtr5u7riij.jpg</bmiddle_pic> <original_pic>http://ww3.sinaimg.cn/large/60acc7bdjw6dbtr5u7riij.jpg</original_pic> <user> <id>1621936061</id> <screen_name>李剑雄</screen_name> <name>李剑雄</name> <province>11</province> <city>1000</city> <location>北京</location> <description>踏实前进的姿态,对世界发自内心的热爱,正是生活精髓所在</description> <url>http://1</url> <profile_image_url>http://tp2.sinaimg.cn/1621936061/50/1290356551/1</profile_image_url> <domain>lijianxiong</domain> <gender>m</gender> <followers_count>3515</followers_count> <friends_count>1486</friends_count> <statuses_count>678</statuses_count> <favourites_count>1</favourites_count> <created_at>Fri Oct 23 00:00:00 +0800 2009</created_at> <following>false</following> <verified>true</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> </user> </retweeted_status> </status> </user> <status> <created_at>Tue Sep 21 11:36:06 +0800 2010</created_at> <id>2773495951</id> <text>ubun2</text> <source> <a href="http://news.sina.com.cn/wap/wbclient.html#1">S60客户端</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <thumbnail_pic>http://ss6.sinaimg.cn/thumbnail/62d4f2d3490bcba897765&690</thumbnail_pic> <bmiddle_pic>http://ss6.sinaimg.cn/bmiddle/62d4f2d3490bcba897765&690</bmiddle_pic> <original_pic>http://ss6.sinaimg.cn/orignal/62d4f2d3490bcba897765&690</original_pic> <user> <id>1658122963</id> <screen_name>zhangwei217245</screen_name> <name>zhangwei217245</name> <province>11</province> <city>5</city> <location>北京 朝阳区</location> <description>ABCDE</description> <url/> <profile_image_url>http://tp4.sinaimg.cn/1658122963/50/1282754213</profile_image_url> <domain>zhangwei217245</domain> <gender>m</gender> <followers_count>22</followers_count> <friends_count>43</friends_count> <statuses_count>0</statuses_count> <favourites_count>0</favourites_count> <created_at>Tue Nov 03 00:00:00 +0800 2009</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> </user> </status> </comment> ... </comments>
JSON示例
[ { "id" : 3425138539, "text" : "问候朋友。互粉互助。", "created_at" : "Tue Sep 21 11:40:27 +0800 2010", "user" : { "name" : "李剑雄", "domain" : "lijianxiong", "geo_enabled" : true, "followers_count" : 3587, "statuses_count" : 0, "favourites_count" : 0, "city" : "1000", "description" : "踏实前进的姿态,对世界发自内心的热爱,应是生活精髓所在", "verified" : true, "status" : { "created_at" : "Sun Nov 28 18:52:07 +0800 2010", "text" : "这部影片的成功之处在于,回归人类之本性,食物,性,爱,以及信仰,是人之安身立命之原动力。这部影片给我的另外体悟是,观照自己的内心,正确的面对自己。我们是自己最大的敌人,也是自己最好的朋友。", "truncated" : false, "retweeted_status" : { "created_at" : "Sun Nov 28 17:02:24 +0800 2010", "text" : "在看影片《美食、祈祷和恋爱》。有时候,改变生活需要内心的决绝,不过一旦你迈出去,也无所谓逝去。同样,当生活的改变来临,不要害怕,流水不腐,改变有时可以成就你的沉思,和新一轮的成长。", "bmiddle_pic" : "http://ww3.sinaimg.cn/bmiddle/60acc7bdjw6dbtr5u7riij.jpg", "original_pic" : "http://ww3.sinaimg.cn/large/60acc7bdjw6dbtr5u7riij.jpg", "truncated" : false, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "user" : { "name" : "李剑雄", "domain" : "lijianxiong", "geo_enabled" : true, "followers_count" : 3515, "statuses_count" : 678, "favourites_count" : 1, "city" : "1000", "description" : "踏实前进的姿态,对世界发自内心的热爱,正是生活精髓所在", "verified" : true, "id" : 1621936061, "gender" : "m", "friends_count" : 1486, "screen_name" : "李剑雄", "allow_all_act_msg" : false, "following" : false, "url" : "http://1", "profile_image_url" : "http://tp2.sinaimg.cn/1621936061/50/1290356551/1", "created_at" : "Fri Oct 23 00:00:00 +0800 2009", "province" : "11", "location" : "北京" }, "favorited" : false, "thumbnail_pic" : "http://ww3.sinaimg.cn/thumbnail/60acc7bdjw6dbtr5u7riij.jpg", "in_reply_to_user_id" : "", "id" : 3938587127, "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>" }, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "favorited" : false, "in_reply_to_user_id" : "", "id" : 3940645165, "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>" }, "id" : 1621936061, "gender" : "m", "friends_count" : 1492, "screen_name" : "李剑雄", "allow_all_act_msg" : false, "following" : false, "url" : "http://1", "profile_image_url" : "http://tp2.sinaimg.cn/1621936061/50/1290356551/1", "created_at" : "Fri Oct 23 00:00:00 +0800 2009", "province" : "11", "location" : "北京" }, "status" : { "created_at" : "Tue Sep 21 11:36:06 +0800 2010", "text" : "ubun2", "bmiddle_pic" : "http://ss6.sinaimg.cn/bmiddle/62d4f2d3490bcba897765&690", "original_pic" : "http://ss6.sinaimg.cn/orignal/62d4f2d3490bcba897765&690", "truncated" : false, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "user" : { "name" : "zhangwei217245", "domain" : "zhangwei217245", "geo_enabled" : true, "followers_count" : 22, "statuses_count" : 0, "favourites_count" : 0, "city" : "5", "description" : "ABCDE", "verified" : false, "id" : 1658122963, "gender" : "m", "friends_count" : 43, "screen_name" : "zhangwei217245", "allow_all_act_msg" : false, "following" : false, "url" : "", "profile_image_url" : "http://tp4.sinaimg.cn/1658122963/50/1282754213", "created_at" : "Tue Nov 03 00:00:00 +0800 2009", "province" : "11", "location" : "北京 朝阳区" }, "favorited" : false, "thumbnail_pic" : "http://ss6.sinaimg.cn/thumbnail/62d4f2d3490bcba897765&690", "in_reply_to_user_id" : "", "id" : 2773495951, "source" : "<a href=\"http://news.sina.com.cn/wap/wbclient.html#1\" rel=\"nofollow\">S60客户端</a>" } }, ... ]
字段说明 - comment
- id: 评论ID
- text: 评论内容
- source: 评论来源
- favorited: 是否收藏
- truncated: 是否被截断
- created_at: 评论时间
- user: 评论人信息,结构参考user
- status: 评论的微博,结构参考status
- reply_comment 评论来源,数据结构跟comment一致
字段说明 - user
- id: 用户UID
- screen_name: 微博昵称
- name: 友好显示名称,同微博昵称
- province: 省份编码(参考省份编码表)
- city: 城市编码(参考城市编码表)
- location:地址
- description: 个人描述
- url: 用户博客地址
- profile_image_url: 自定义图像
- domain: 用户个性化URL
- gender: 性别,m--男,f--女,n--未知
- followers_count: 粉丝数
- friends_count: 关注数
- statuses_count: 微博数
- favourites_count: 收藏数
- created_at: 创建时间
- following: 是否已关注(此特性暂不支持)
- verified: 加V标示,是否微博认证用户
字段说明 - status
- created_at: 创建时间
- id: 微博ID
- text: 微博信息内容
- source: 微博来源
- favorited: 是否已收藏
- truncated: 是否被截断
- in_reply_to_status_id: 回复ID
- in_reply_to_user_id: 回复人UID
- in_reply_to_screen_name: 回复人昵称
- thumbnail_pic: 缩略图
- bmiddle_pic: 中型图片
- original_pic:原始图片
- user: 作者信息
- retweeted_status: 转发的博文,内容为status,如果不是转发,则没有此字段
其他
无
文档更新时间: 2010-12-01