Statuses/magic followers
(→statuses/magic_followers) |
(→statuses/magic_followers) |
||
(未显示1个用户的2个中间版本) | |||
第1行: | 第1行: | ||
==statuses/magic_followers== | ==statuses/magic_followers== | ||
− | + | 获取用户活跃粉丝列表,每次最多返回20条,包括用户的最新的微博 | |
===URL=== | ===URL=== | ||
第20行: | 第20行: | ||
*user_id 必选参数,用户UID。 | *user_id 必选参数,用户UID。 | ||
*count 可选参数,每次获取的记录数,不能超过20,超过则默认为20 | *count 可选参数,每次获取的记录数,不能超过20,超过则默认为20 | ||
+ | |||
+ | ===请求示例=== | ||
+ | curl -i http://api.t.sina.com.cn/statuses/magic_followers.json?source=1392673069&user_id=10503 | ||
===返回结果=== | ===返回结果=== | ||
<pre> | <pre> | ||
{ | { | ||
− | + | "users": | |
− | + | [ | |
− | + | { | |
− | + | "id":1345454230, | |
− | + | "screen_name":"浮云", | |
− | + | "name":"浮云", | |
− | + | "province":"11", | |
− | + | "city":"1000", | |
− | + | "location":"北京", | |
− | + | "description":"属性:漂浮", | |
− | + | "url":"http://blog.sina.com.cn/cfytest", | |
− | + | "profile_image_url":"http://tp3.sinaimg.cn/1345454230/50/1279877572", | |
− | + | "domain":"cfytest", | |
− | + | "gender":"m", | |
− | + | "followers_count":3161, | |
− | + | "friends_count":1944, | |
− | + | "statuses_count":6590, | |
− | + | "favourites_count":0, | |
− | + | "created_at":"Fri Jun 11 00:00:00 +0800 2010", | |
− | + | "following":false,"allow_all_act_msg":false, | |
− | + | "geo_enabled":false, | |
− | + | "verified":false, | |
− | + | "status": | |
− | + | { | |
− | + | "created_at":"Mon Aug 09 14:08:42 +0800 2010", | |
− | + | "id":1615082362, | |
− | + | "text":"挺酷", | |
− | + | "source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>", | |
− | + | "favorited":false, | |
− | + | "truncated":false, | |
− | + | "in_reply_to_status_id":"", | |
− | + | "in_reply_to_user_id":"", | |
− | + | "in_reply_to_screen_name":"", | |
− | + | "geo":null, | |
− | + | "retweeted_status": | |
− | + | { | |
− | + | "created_at":"Mon Aug 09 01:01:00 +0800 2010","id":1605904887, | |
− | + | "text":"换了一个新头像,但是必须结合我的微博首页才能看明白…… http://t.sina.com.cn/marilawang", | |
− | + | "source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>", | |
− | + | "favorited":false, | |
− | + | "truncated":false, | |
− | + | "in_reply_to_status_id":"", | |
− | + | "in_reply_to_user_id":"", | |
− | + | "in_reply_to_screen_name":"", | |
− | + | "geo":null, | |
− | + | "user":{ | |
− | + | "id":1644284007, | |
− | + | "screen_name":"马日拉", | |
− | + | "name":"马日拉", | |
− | + | "province":"31", | |
− | + | "city":"7", | |
− | + | "location":"上海 普陀区", | |
− | + | "description":"你能在谷歌搜索“胡吴温贾李习贺周”,说明你在墙外。而我,在墙内生长开花。有一天,我们会相见的。", | |
− | + | "url":"http://www.chinarealestatenews.com/", | |
− | + | "profile_image_url":"http://tp4.sinaimg.cn/1644284007/50/1281286785", | |
− | + | "domain":"marilawang", | |
− | + | "gender":"m", | |
− | + | "followers_count":27203, | |
− | + | "friends_count":57, | |
− | + | "statuses_count":3655, | |
− | + | "favourites_count":0, | |
− | + | "created_at":"Tue Sep 01 00:00:00 +0800 2009", | |
− | + | "following":false, | |
− | + | "allow_all_act_msg":false, | |
− | + | "geo_enabled":false, | |
− | + | "verified":true | |
− | + | } | |
− | + | } | |
− | + | } | |
− | + | }, | |
− | + | {}...... | |
− | + | ] | |
} | } | ||
</pre> | </pre> |
2011年1月5日 (三) 10:59的最后版本
目录 |
statuses/magic_followers
获取用户活跃粉丝列表,每次最多返回20条,包括用户的最新的微博
URL
http://api.t.sina.com.cn/statuses/magic_followers.format
格式
json
HTTP请求方式
GET
是否需要登录
false
请求数限制
true
请求参数
- user_id 必选参数,用户UID。
- count 可选参数,每次获取的记录数,不能超过20,超过则默认为20
请求示例
curl -i http://api.t.sina.com.cn/statuses/magic_followers.json?source=1392673069&user_id=10503
返回结果
{ "users": [ { "id":1345454230, "screen_name":"浮云", "name":"浮云", "province":"11", "city":"1000", "location":"北京", "description":"属性:漂浮", "url":"http://blog.sina.com.cn/cfytest", "profile_image_url":"http://tp3.sinaimg.cn/1345454230/50/1279877572", "domain":"cfytest", "gender":"m", "followers_count":3161, "friends_count":1944, "statuses_count":6590, "favourites_count":0, "created_at":"Fri Jun 11 00:00:00 +0800 2010", "following":false,"allow_all_act_msg":false, "geo_enabled":false, "verified":false, "status": { "created_at":"Mon Aug 09 14:08:42 +0800 2010", "id":1615082362, "text":"挺酷", "source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>", "favorited":false, "truncated":false, "in_reply_to_status_id":"", "in_reply_to_user_id":"", "in_reply_to_screen_name":"", "geo":null, "retweeted_status": { "created_at":"Mon Aug 09 01:01:00 +0800 2010","id":1605904887, "text":"换了一个新头像,但是必须结合我的微博首页才能看明白…… http://t.sina.com.cn/marilawang", "source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>", "favorited":false, "truncated":false, "in_reply_to_status_id":"", "in_reply_to_user_id":"", "in_reply_to_screen_name":"", "geo":null, "user":{ "id":1644284007, "screen_name":"马日拉", "name":"马日拉", "province":"31", "city":"7", "location":"上海 普陀区", "description":"你能在谷歌搜索“胡吴温贾李习贺周”,说明你在墙外。而我,在墙内生长开花。有一天,我们会相见的。", "url":"http://www.chinarealestatenews.com/", "profile_image_url":"http://tp4.sinaimg.cn/1644284007/50/1281286785", "domain":"marilawang", "gender":"m", "followers_count":27203, "friends_count":57, "statuses_count":3655, "favourites_count":0, "created_at":"Tue Sep 01 00:00:00 +0800 2009", "following":false, "allow_all_act_msg":false, "geo_enabled":false, "verified":true } } } }, {}...... ] }
文档更新时间: 2011-01-05