Statuses/repost timeline
目录 |
statuses/repost_timeline
返回一条原创微博消息的最新n条转发微博消息。本接口无法对非原创微博进行查询。
URL
http://api.t.sina.com.cn/statuses/repost_timeline.(json%7Cxml)
支持格式
XML/JSON
HTTP请求方式
GET
是否需要登录
true
关于授权机制,参见授权机制声明
请求数限制
true
关于请求数限制,参见接口访问权限说明
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
source | true | string | 申请应用时分配的AppKey,调用接口时候代表应用的唯一身份。(采用OAuth授权方式不需要此参数) |
id | true | int64 | 要获取转发微博列表的原创微博ID。 |
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"?> <statuses> <status> <created_at>Wed Dec 01 15:33:30 +0800 2010</created_at> <id>3997957475</id> <text>跳舞 //@v渣渣:跳舞。。。。。 //@小铁罐:我一来就看见裸体.... //@VIOLET_EA命:完蛋我先看到跳舞有看到了裸体,我……我可真…… //@Yersinia_pestis:我又都看到了...........bi! //@某酷发奋学英语:跳舞+1 //@苏饼无罪的某眠:哥也是 //@青色萝卜:哥是GAY。。。。</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/> <user> <id>1304351802</id> <screen_name>在下小丹子</screen_name> <name>在下小丹子</name> <province>33</province> <city>1</city> <location>浙江 杭州</location> <description/> <url>http://hi.baidu.com/hoonmo/home</url> <profile_image_url>http://tp3.sinaimg.cn/1304351802/50/1289733665/0</profile_image_url> <domain/> <gender>f</gender> <followers_count>9</followers_count> <friends_count>68</friends_count> <statuses_count>288</statuses_count> <favourites_count>0</favourites_count> <created_at>Sat Sep 11 00:00:00 +0800 2010</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> </user> <retweeted_status> <created_at>Thu Nov 25 22:16:04 +0800 2010</created_at> <id>3881498981</id> <text>看到是女性裸体证明你是直男,如果看到两个人跳舞说明你是gay。。。(欢迎关注@您不知道的事)</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://ww2.sinaimg.cn/thumbnail/62037b5ajw6dbqjec8lfxj.jpg</thumbnail_pic> <bmiddle_pic>http://ww2.sinaimg.cn/bmiddle/62037b5ajw6dbqjec8lfxj.jpg</bmiddle_pic> <original_pic>http://ww2.sinaimg.cn/large/62037b5ajw6dbqjec8lfxj.jpg</original_pic> <user> <id>1644395354</id> <screen_name>冷笑话精选</screen_name> <name>冷笑话精选</name> <province>44</province> <city>1</city> <location>广东 广州</location> <description>冷笑话,热心肠!每日奉送冷笑话,将开心果带给全体人民……,期待名人和人名猛击“关注”实在是您居家旅行的必备猛药。(投稿可发原文链接到私信!)</description> <url>http://1</url> <profile_image_url>http://tp3.sinaimg.cn/1644395354/50/1283204225/1</profile_image_url> <domain>lxhjx</domain> <gender>m</gender> <followers_count>1349954</followers_count> <friends_count>596</friends_count> <statuses_count>3732</statuses_count> <favourites_count>5</favourites_count> <created_at>Fri Oct 23 00:00:00 +0800 2009</created_at> <following>false</following> <verified>false</verified> <allow_all_act_msg>true</allow_all_act_msg> <geo_enabled>false</geo_enabled> </user> </retweeted_status> </status> ... </statuses>
JSON示例
[ { "created_at" : "Wed Dec 01 15:33:30 +0800 2010", "text" : "跳舞 //@v渣渣:跳舞。。。。。 //@小铁罐:我一来就看见裸体.... //@VIOLET_EA命:完蛋我先看到跳舞有看到了裸体,我……我可真…… //@Yersinia_pestis:我又都看到了...........bi! //@某酷发奋学英语:跳舞+1 //@苏饼无罪的某眠:哥也是 //@青色萝卜:哥是GAY。。。。", "truncated" : false, "retweeted_status" : { "created_at" : "Thu Nov 25 22:16:04 +0800 2010", "text" : "看到是女性裸体证明你是直男,如果看到两个人跳舞说明你是gay。。。(欢迎关注@您不知道的事)", "bmiddle_pic" : "http://ww2.sinaimg.cn/bmiddle/62037b5ajw6dbqjec8lfxj.jpg", "original_pic" : "http://ww2.sinaimg.cn/large/62037b5ajw6dbqjec8lfxj.jpg", "truncated" : false, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "user" : { "name" : "冷笑话精选", "domain" : "lxhjx", "geo_enabled" : false, "followers_count" : 1349954, "statuses_count" : 3732, "favourites_count" : 5, "city" : "1", "description" : "冷笑话,热心肠!每日奉送冷笑话,将开心果带给全体人民……,期待名人和人名猛击“关注”实在是您居家旅行的必备猛药。(投稿可发原文链接到私信!)", "verified" : false, "id" : 1644395354, "gender" : "m", "friends_count" : 596, "screen_name" : "冷笑话精选", "allow_all_act_msg" : true, "following" : false, "url" : "http://1", "profile_image_url" : "http://tp3.sinaimg.cn/1644395354/50/1283204225/1", "created_at" : "Fri Oct 23 00:00:00 +0800 2009", "province" : "44", "location" : "广东 广州" }, "favorited" : false, "thumbnail_pic" : "http://ww2.sinaimg.cn/thumbnail/62037b5ajw6dbqjec8lfxj.jpg", "in_reply_to_user_id" : "", "id" : 3881498981, "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>" }, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "user" : { "name" : "在下小丹子", "domain" : "", "geo_enabled" : true, "followers_count" : 9, "statuses_count" : 288, "favourites_count" : 0, "city" : "1", "description" : "", "verified" : false, "id" : 1304351802, "gender" : "f", "friends_count" : 68, "screen_name" : "在下小丹子", "allow_all_act_msg" : false, "following" : false, "url" : "http://hi.baidu.com/hoonmo/home", "profile_image_url" : "http://tp3.sinaimg.cn/1304351802/50/1289733665/0", "created_at" : "Sat Sep 11 00:00:00 +0800 2010", "province" : "33", "location" : "浙江 杭州" }, "favorited" : false, "in_reply_to_user_id" : "", "id" : 3997957475, "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>" }, ]
字段说明 - 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,如果不是转发,则没有此字段
字段说明 - 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标示,是否微博认证用户
其他
无
文档更新时间: 2010-12-01