Statuses/repost by me
(→返回结果) |
|||
(未显示1个用户的4个中间版本) | |||
第1行: | 第1行: | ||
− | + | {{api_desc2| | |
− | + | uri=statuses/repost_by_me| | |
− | + | desc=获取用户最新转发的n条微博消息| | |
− | = | + | format=XML/JSON| |
− | + | httpMethod=GET| | |
− | + | needAuth=true| | |
− | + | rateLimit=true| | |
− | + | params={{api_args|id|true|int64|要获取转发微博列表的用户ID。}} | |
− | + | {{api_args|since_id|false|int64|若指定此参数,则只返回ID比since_id大的记录(比since_id发表时间晚)。}} | |
− | = | + | {{api_args|max_id|false|int64|若指定此参数,则返回ID小于或等于max_id的记录}} |
− | GET | + | {{api_args|count|false|int,默认值20,最大值200。|单页返回的记录条数。}} |
− | + | {{api_args|page|false|int,默认值1。|返回结果的页码。}}| | |
− | = | + | getParam=&id=1642466141| |
− | true | + | postParam=| |
− | + | result= | |
− | = | + | ===XML示例=== |
− | true | + | <pre> |
− | + | <?xml version="1.0" encoding="UTF-8"?> | |
− | = | + | <statuses> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | === | + | |
− | + | ||
− | + | ||
− | + | ||
<status> | <status> | ||
− | <created_at> | + | <created_at>Wed Dec 01 13:50:19 +0800 2010</created_at> |
− | <id> | + | <id>3996173251</id> |
− | <text> | + | <text>@FlashSoft 顺便,你可以看看weibopi.com</text> |
<source> | <source> | ||
− | <a href="http:// | + | <a href="http://weibopi.com">微博派</a> |
</source> | </source> | ||
<favorited>false</favorited> | <favorited>false</favorited> | ||
<truncated>false</truncated> | <truncated>false</truncated> | ||
<geo/> | <geo/> | ||
− | <in_reply_to_status_id | + | <in_reply_to_status_id/> |
− | <in_reply_to_user_id | + | <in_reply_to_user_id/> |
− | <in_reply_to_screen_name | + | <in_reply_to_screen_name/> |
<user> | <user> | ||
− | <id> | + | <id>1642466141</id> |
− | <screen_name> | + | <screen_name>huchao</screen_name> |
− | <name> | + | <name>huchao</name> |
<province>11</province> | <province>11</province> | ||
<city>8</city> | <city>8</city> | ||
− | <location>北京</location> | + | <location>北京 海淀区</location> |
− | <description | + | <description/> |
− | <url></url> | + | <url>http://tuoniao.org</url> |
− | <profile_image_url>http://tp2.sinaimg.cn/ | + | <profile_image_url>http://tp2.sinaimg.cn/1642466141/50/1285424071/1</profile_image_url> |
− | <domain></domain> | + | <domain>westy</domain> |
<gender>m</gender> | <gender>m</gender> | ||
− | <followers_count> | + | <followers_count>122</followers_count> |
− | <friends_count> | + | <friends_count>77</friends_count> |
− | <statuses_count> | + | <statuses_count>0</statuses_count> |
<favourites_count>0</favourites_count> | <favourites_count>0</favourites_count> | ||
− | <created_at>Fri | + | <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at> |
<following>false</following> | <following>false</following> | ||
<verified>false</verified> | <verified>false</verified> | ||
第69行: | 第54行: | ||
</user> | </user> | ||
<retweeted_status> | <retweeted_status> | ||
− | <created_at> | + | <created_at>Wed Dec 01 12:49:06 +0800 2010</created_at> |
− | <id> | + | <id>3995833573</id> |
− | <text> | + | <text>哦也,终于可以了</text> |
<source> | <source> | ||
− | <a href="http://t.sina.com.cn | + | <a href="http://t.sina.com.cn">新浪微博</a> |
</source> | </source> | ||
<favorited>false</favorited> | <favorited>false</favorited> | ||
<truncated>false</truncated> | <truncated>false</truncated> | ||
<geo/> | <geo/> | ||
− | <in_reply_to_status_id | + | <in_reply_to_status_id/> |
− | <in_reply_to_user_id | + | <in_reply_to_user_id/> |
− | <in_reply_to_screen_name | + | <in_reply_to_screen_name/> |
<user> | <user> | ||
− | <id> | + | <id>1458085847</id> |
− | <screen_name> | + | <screen_name>FlashSoft</screen_name> |
− | <name> | + | <name>FlashSoft</name> |
<province>11</province> | <province>11</province> | ||
<city>8</city> | <city>8</city> | ||
− | <location>北京< | + | <location>北京 海淀区</location> |
− | <description></description> | + | <description>方超 | RIA</description> |
− | <url></url> | + | <url>http://i.javascript.cn</url> |
− | <profile_image_url>http:// | + | <profile_image_url>http://tp4.sinaimg.cn/1458085847/50/1286032383/1</profile_image_url> |
− | <domain> | + | <domain>sinaria</domain> |
<gender>m</gender> | <gender>m</gender> | ||
− | <followers_count> | + | <followers_count>433</followers_count> |
− | <friends_count> | + | <friends_count>559</friends_count> |
− | <statuses_count> | + | <statuses_count>562</statuses_count> |
− | <favourites_count> | + | <favourites_count>20</favourites_count> |
− | <created_at> | + | <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at> |
<following>false</following> | <following>false</following> | ||
<verified>false</verified> | <verified>false</verified> | ||
第104行: | 第89行: | ||
</user> | </user> | ||
</retweeted_status> | </retweeted_status> | ||
− | </status></statuses> | + | </status> |
− | + | ... | |
− | + | </statuses> | |
− | JSON示例 | + | </pre> |
− | + | ===JSON示例=== | |
− | + | <pre> | |
+ | [ | ||
{ | { | ||
− | "created_at": " | + | "created_at" : "Wed Dec 01 13:50:19 +0800 2010", |
− | " | + | "text" : "@FlashSoft 顺便,你可以看看weibopi.com", |
− | + | "truncated" : false, | |
− | " | + | "retweeted_status" : |
− | " | + | { |
− | + | "created_at" : "Wed Dec 01 12:49:06 +0800 2010", | |
− | + | "text" : "哦也,终于可以了", | |
− | + | "truncated" : false, | |
− | "created_at": " | + | "in_reply_to_status_id" : "", |
− | " | + | "in_reply_to_screen_name" : "", |
− | + | "geo" : null, | |
− | " | + | "user" : |
− | " | + | { |
− | " | + | "name" : "FlashSoft", |
− | " | + | "domain" : "sinaria", |
− | " | + | "geo_enabled" : true, |
− | + | "followers_count" : 433, | |
− | + | "statuses_count" : 562, | |
− | + | "favourites_count" : 20, | |
− | " | + | "city" : "8", |
− | " | + | "description" : "方超 | RIA", |
− | " | + | "verified" : false, |
− | "description": "", | + | "id" : 1458085847, |
− | " | + | "gender" : "m", |
− | " | + | "friends_count" : 559, |
− | " | + | "screen_name" : "FlashSoft", |
− | + | "allow_all_act_msg" : false, | |
− | "friends_count": | + | "following" : false, |
− | " | + | "url" : "http://i.javascript.cn", |
− | " | + | "profile_image_url" : "http://tp4.sinaimg.cn/1458085847/50/1286032383/1", |
− | " | + | "created_at" : "Fri Aug 28 00:00:00 +0800 2009", |
− | " | + | "province" : "11", |
− | + | "location" : "北京 海淀区" | |
− | "profile_image_url": "http:// | + | }, |
− | "province": "11", | + | "favorited" : false, |
− | " | + | "in_reply_to_user_id" : "", |
− | + | "id" : 3995833573, | |
− | + | "source" : "<a href=\"http://t.sina.com.cn\" rel=\"nofollow\">新浪微博</a>" | |
− | + | }, | |
− | + | "in_reply_to_status_id" : "", | |
− | + | "in_reply_to_screen_name" : "", | |
− | + | "geo" : null, | |
− | " | + | "user" : |
− | " | + | { |
− | "user": { | + | "name" : "huchao", |
− | " | + | "domain" : "westy", |
− | " | + | "geo_enabled" : true, |
− | " | + | "followers_count" : 122, |
− | " | + | "statuses_count" : 0, |
− | " | + | "favourites_count" : 0, |
− | "favourites_count": 0, | + | "city" : "8", |
− | " | + | "description" : "", |
− | " | + | "verified" : false, |
− | " | + | "id" : 1642466141, |
− | "gender": "m", | + | "gender" : "m", |
− | " | + | "friends_count" : 77, |
− | " | + | "screen_name" : "huchao", |
− | " | + | "allow_all_act_msg" : false, |
− | " | + | "following" : false, |
− | "profile_image_url": "http://tp2.sinaimg.cn/ | + | "url" : "http://tuoniao.org", |
− | "province": "11", | + | "profile_image_url" : "http://tp2.sinaimg.cn/1642466141/50/1285424071/1", |
− | " | + | "created_at" : "Fri Aug 28 00:00:00 +0800 2009", |
− | + | "province" : "11", | |
− | + | "location" : "北京 海淀区" | |
− | + | }, | |
− | + | "favorited" : false, | |
− | + | "in_reply_to_user_id" : "", | |
− | + | "id" : 3996173251, | |
− | + | "source" : "<a href=\"http://weibopi.com\" rel=\"nofollow\">微博派</a>" | |
− | + | }, | |
− | + | ... | |
− | + | ] | |
− | + | </pre>| | |
− | + | useAge=无| | |
− | + | otherInfo=无 | |
− | + | }} | |
− | + |
2010年12月1日 (三) 16:42的最后版本
目录 |
statuses/repost_by_me
获取用户最新转发的n条微博消息
URL
http://api.t.sina.com.cn/statuses/repost_by_me.(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 13:50:19 +0800 2010</created_at> <id>3996173251</id> <text>@FlashSoft 顺便,你可以看看weibopi.com</text> <source> <a href="http://weibopi.com">微博派</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>1642466141</id> <screen_name>huchao</screen_name> <name>huchao</name> <province>11</province> <city>8</city> <location>北京 海淀区</location> <description/> <url>http://tuoniao.org</url> <profile_image_url>http://tp2.sinaimg.cn/1642466141/50/1285424071/1</profile_image_url> <domain>westy</domain> <gender>m</gender> <followers_count>122</followers_count> <friends_count>77</friends_count> <statuses_count>0</statuses_count> <favourites_count>0</favourites_count> <created_at>Fri Aug 28 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> <retweeted_status> <created_at>Wed Dec 01 12:49:06 +0800 2010</created_at> <id>3995833573</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/> <user> <id>1458085847</id> <screen_name>FlashSoft</screen_name> <name>FlashSoft</name> <province>11</province> <city>8</city> <location>北京 海淀区</location> <description>方超 | RIA</description> <url>http://i.javascript.cn</url> <profile_image_url>http://tp4.sinaimg.cn/1458085847/50/1286032383/1</profile_image_url> <domain>sinaria</domain> <gender>m</gender> <followers_count>433</followers_count> <friends_count>559</friends_count> <statuses_count>562</statuses_count> <favourites_count>20</favourites_count> <created_at>Fri Aug 28 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> </retweeted_status> </status> ... </statuses>
JSON示例
[ { "created_at" : "Wed Dec 01 13:50:19 +0800 2010", "text" : "@FlashSoft 顺便,你可以看看weibopi.com", "truncated" : false, "retweeted_status" : { "created_at" : "Wed Dec 01 12:49:06 +0800 2010", "text" : "哦也,终于可以了", "truncated" : false, "in_reply_to_status_id" : "", "in_reply_to_screen_name" : "", "geo" : null, "user" : { "name" : "FlashSoft", "domain" : "sinaria", "geo_enabled" : true, "followers_count" : 433, "statuses_count" : 562, "favourites_count" : 20, "city" : "8", "description" : "方超 | RIA", "verified" : false, "id" : 1458085847, "gender" : "m", "friends_count" : 559, "screen_name" : "FlashSoft", "allow_all_act_msg" : false, "following" : false, "url" : "http://i.javascript.cn", "profile_image_url" : "http://tp4.sinaimg.cn/1458085847/50/1286032383/1", "created_at" : "Fri Aug 28 00:00:00 +0800 2009", "province" : "11", "location" : "北京 海淀区" }, "favorited" : false, "in_reply_to_user_id" : "", "id" : 3995833573, "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" : "huchao", "domain" : "westy", "geo_enabled" : true, "followers_count" : 122, "statuses_count" : 0, "favourites_count" : 0, "city" : "8", "description" : "", "verified" : false, "id" : 1642466141, "gender" : "m", "friends_count" : 77, "screen_name" : "huchao", "allow_all_act_msg" : false, "following" : false, "url" : "http://tuoniao.org", "profile_image_url" : "http://tp2.sinaimg.cn/1642466141/50/1285424071/1", "created_at" : "Fri Aug 28 00:00:00 +0800 2009", "province" : "11", "location" : "北京 海淀区" }, "favorited" : false, "in_reply_to_user_id" : "", "id" : 3996173251, "source" : "<a href=\"http://weibopi.com\" rel=\"nofollow\">微博派</a>" }, ... ]
其他
无
文档更新时间: 2010-12-01