Statuses/repost timeline/en
目录 |
statuses/repost_timeline
Return the latest N reposted weibo of a original weibo. This interface can not be queried for un-original status.
URL
http://api.t.sina.com.cn/statuses/repost_timeline.(json%7Cxml)
Supported Formats
XML/JSON
HTTP Request Method
GET
Requires Authentication
true
See the Authorization Mechanism Statement for authorization details
Requests Count Limitation
true
See the Interface Access Rights Statement for the Request Count Limitaiton details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | true | string | AppKey for the application to identify it. ( This parameter is not needed when using OAuth) |
id | true | int64 | The original weibo ID. It used to get the reposted status list of the original weibo. |
since_id | false | int64 | Returns then weibos with an ID greater than (that is, more recent than) the specified ID |
max_id | false | int64 | Return the weibos with an ID smaller than the specified ID. |
count | false | int, default is 20, max is 200. | Specify the number of weibos return for each page. |
page | false | int, default is 1. | Specify results page. Based on the number of the authenticating user’s followings and the number of the followings’s weibos, the max number of weibos that page feature can access is different, usually up to about 1000 weibos. |
Notes
None
Example Request
- XML
- curl -u "username:password" "http://api.t.sina.com.cn/statuses/repost_timeline.xml?source=appkey&id=3881498981&count=2"
- JSON
- curl -u "username:password" "http://api.t.sina.com.cn/statuses/repost_timeline.json?source=appkey&id=3881498981&count=2"
Response
XML Example
<?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 Example
[ { "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>" }, ]
Field Description - weibo
- created_at: Create time
- id: Weibo ID
- text: Weibo content
- source: Weibo source
- favorited: Whether it is favroited
- truncated: Whether it is truncated
- in_reply_to_status_id: The reply’s ID
- in_reply_to_user_id: UID of the replyer
- in_reply_to_screen_name: Nickname of replyer
- thumbnail_pic: Thumbnail picture
- bmiddle_pic: Medium picture
- original_pic:Original picture
- user: User profile
- retweeted_status: eposted weibo content, the content is the status, This filed is only available for a reposted weibo.
Field Description - user
- id: User ID
- screen_name: User’s nickname displayed on the home page
- name: Friendly displayed name, the same as screen_name
- province: Province code ( see Province and city code table)
- city: City code ( see Province and city code table)
- location:Address
- description: Personal description
- url: Url of the user’s blog
- profile_image_url: Profile image
- domain: The user’s personalized weibo url
- gender: Gender, m—male, f- - female, n-- unknown
- followers_count: Followers count
- friends_count: Following count
- statuses_count: Weibo count
- favourites_count: Favorites count
- created_at: Created time
- following: Whether the current user is following the user that posts the weibo (Not supported yet)
- verified: Whether the user is verified by his real identity, marked with “V”
Others
None