User/lists/:list id/statuses
目录 |
:user/lists/:list_id/statuses
展示list成员的最新微博信息
URL
http://api.t.sina.com.cn/:user/lists/:list_id/statuses.format
格式
xml, json
HTTP请求方式
GET
是否需要登录
false
请求数限制
true
请求参数
- since_id: 可选参数。返回带有比指定list ID大的ID(比指定list的ID新的)的结果。被进入API的微博数会被限制。如果当微博的限制达到时,since_id将被强制到最老的可用ID。
- max_id: 可选参数。返回带有一个小于(就是比较老的)或等于指定list ID的ID的结果。
- per_page: 可选参数。每次返回的最大记录数。
- page: 可选参数。分页返回
- base_app: 选填参数,是否基于当前应用来获取数据。1为限制本应用微博,0为不做限制。
- feature: 选填参数,微博类型,0:全部,1:原创,2:图片,3:视频,4:音乐. 返回指定类型的微博信息内容,如feature=3则只返回视频微博。
使用示例
XML
curl -u uid:password http://api.t.sina.com.cn/testuser/lists/testlist/statuses.xml?source=appkey
Json
curl -u uid:password http://api.t.sina.com.cn/testuser/lists/testlist/statuses.json?source=appkey
返回结果
XML
<?xml version="1.0" encoding="UTF-8"?> <statuses> <status> <created_at>Mon Aug 16 17:48:11 +0800 2010</created_at> <id>1786179149</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://ss6.sinaimg.cn/thumbnail/6117d2a0g7497c51aae95&690</thumbnail_pic> <bmiddle_pic>http://ss6.sinaimg.cn/bmiddle/6117d2a0g7497c51aae95&690</bmiddle_pic> <original_pic>http://ss6.sinaimg.cn/orignal/6117d2a0g7497c51aae95&690</original_pic> <user> <id>1628951200</id> <screen_name>段子</screen_name> <name>段子</name> <province>44</province> <city>1</city> <location>广东 广州</location> <description>关注段子 永不OUT! 新浪微博精华分享平台! 投稿:请私信或者 @段子 即可。</description> <url>http://1</url> <profile_image_url>http://tp1.sinaimg.cn/1628951200/50/1279882471</profile_image_url> <domain>duanzi</domain> <gender>m</gender> <followers_count>316410</followers_count> <friends_count>279</friends_count> <statuses_count>712</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>false</geo_enabled> </user> </status> <status> <created_at>Mon Aug 16 16:33:18 +0800 2010</created_at> <id>1784351964</id> <text>【内涵】:空间某好友心情:其实每次我说“呵呵”的时候,心里想的都是“去你M”的。 下面人的回复:深有同感,呵呵……(@ 微博搞笑精粹)</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://ss4.sinaimg.cn/thumbnail/6117d2a0g8decaef17b73&690</thumbnail_pic> <bmiddle_pic>http://ss4.sinaimg.cn/bmiddle/6117d2a0g8decaef17b73&690</bmiddle_pic> <original_pic>http://ss4.sinaimg.cn/orignal/6117d2a0g8decaef17b73&690</original_pic> <user> <id>1628951200</id> <screen_name>段子</screen_name> <name>段子</name> <province>44</province> <city>1</city> <location>广东 广州</location> <description>关注段子 永不OUT! 新浪微博精华分享平台! 投稿:请私信或者 @段子 即可。</description> <url>http://1</url> <profile_image_url>http://tp1.sinaimg.cn/1628951200/50/1279882471</profile_image_url> <domain>duanzi</domain> <gender>m</gender> <followers_count>316254</followers_count> <friends_count>279</friends_count> <statuses_count>711</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>false</geo_enabled> </user> </status> </statuses>
Json
[ { "bmiddle_pic": "http://ss6.sinaimg.cn/bmiddle/6117d2a0g7497c51aae95&690", "created_at": "Mon Aug 16 17:48:11 +0800 2010", "favorited": false, "geo": null, "id": 1786179149, "in_reply_to_screen_name": "", "in_reply_to_status_id": "", "in_reply_to_user_id": "", "original_pic": "http://ss6.sinaimg.cn/orignal/6117d2a0g7497c51aae95&690", "source": "<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">\u65b0\u6d6a\u5fae\u535a</a>", "text": "\u4e03\u5915\u554a\uff0c\u8981\u597d\u597d\u5730\u8fc7\uff0c\u5e73\u5e73\u6de1\u6de1\u7684\u8fc7\u4e0d\u5c31\u662f\u4e2a\u201c\u6b7b\u201d\u5b57\u4e48\uff1f\u6240\u4ee5\u6ca1\u51c6\u5907\u7684\u8d76\u7d27\u51c6\u5907\uff0c\u51c6\u5907\u4e0d\u8db3\u7684\u518d\u52aa\u529b\u3002\uff08@\u8c10\u5899 \u6295\u7a3f\uff09", "thumbnail_pic": "http://ss6.sinaimg.cn/thumbnail/6117d2a0g7497c51aae95&690", "truncated": false, "user": { "allow_all_act_msg": false, "city": "1", "created_at": "Fri Aug 28 00:00:00 +0800 2009", "description": "\u5173\u6ce8\u6bb5\u5b50 \u6c38\u4e0dOUT\uff01 \u65b0\u6d6a\u5fae\u535a\u7cbe\u534e\u5206\u4eab\u5e73\u53f0\uff01\u3000\u6295\u7a3f\uff1a\u8bf7\u79c1\u4fe1\u6216\u8005 @\u6bb5\u5b50 \u5373\u53ef\u3002", "domain": "duanzi", "favourites_count": 0, "followers_count": 316410, "following": false, "friends_count": 279, "gender": "m", "geo_enabled": false, "id": 1628951200, "location": "\u5e7f\u4e1c \u5e7f\u5dde", "name": "\u6bb5\u5b50", "profile_image_url": "http://tp1.sinaimg.cn/1628951200/50/1279882471", "province": "44", "screen_name": "\u6bb5\u5b50", "statuses_count": 712, "url": "http://1", "verified": false } }, { "bmiddle_pic": "http://ss4.sinaimg.cn/bmiddle/6117d2a0g8decaef17b73&690", "created_at": "Mon Aug 16 16:33:18 +0800 2010", "favorited": false, "geo": null, "id": 1784351964, "in_reply_to_screen_name": "", "in_reply_to_status_id": "", "in_reply_to_user_id": "", "original_pic": "http://ss4.sinaimg.cn/orignal/6117d2a0g8decaef17b73&690", "source": "<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">\u65b0\u6d6a\u5fae\u535a</a>", "text": "\u3010\u5185\u6db5\u3011\uff1a\u7a7a\u95f4\u67d0\u597d\u53cb\u5fc3\u60c5\uff1a\u5176\u5b9e\u6bcf\u6b21\u6211\u8bf4\u201c\u5475\u5475\u201d\u7684\u65f6\u5019\uff0c\u5fc3\u91cc\u60f3\u7684\u90fd\u662f\u201c\u53bb\u4f60M\u201d\u7684\u3002 \u4e0b\u9762\u4eba\u7684\u56de\u590d\uff1a\u6df1\u6709\u540c\u611f\uff0c\u5475\u5475\u2026\u2026\uff08@ \u5fae\u535a\u641e\u7b11\u7cbe\u7cb9\uff09", "thumbnail_pic": "http://ss4.sinaimg.cn/thumbnail/6117d2a0g8decaef17b73&690", "truncated": false, "user": { "allow_all_act_msg": false, "city": "1", "created_at": "Fri Aug 28 00:00:00 +0800 2009", "description": "\u5173\u6ce8\u6bb5\u5b50 \u6c38\u4e0dOUT\uff01 \u65b0\u6d6a\u5fae\u535a\u7cbe\u534e\u5206\u4eab\u5e73\u53f0\uff01\u3000\u6295\u7a3f\uff1a\u8bf7\u79c1\u4fe1\u6216\u8005 @\u6bb5\u5b50 \u5373\u53ef\u3002", "domain": "duanzi", "favourites_count": 0, "followers_count": 316254, "following": false, "friends_count": 279, "gender": "m", "geo_enabled": false, "id": 1628951200, "location": "\u5e7f\u4e1c \u5e7f\u5dde", "name": "\u6bb5\u5b50", "profile_image_url": "http://tp1.sinaimg.cn/1628951200/50/1279882471", "province": "44", "screen_name": "\u6bb5\u5b50", "statuses_count": 711, "url": "http://1", "verified": false } } ]