Statuses/magic followers

跳转到: 导航, 搜索
(statuses/magic_followers)
(statuses/magic_followers)
 
(未显示1个用户的2个中间版本)
第1行: 第1行:
 
==statuses/magic_followers==
 
==statuses/magic_followers==
获取用户优质粉丝列表,每次最多返回20条,包括用户的最新的微博
+
获取用户活跃粉丝列表,每次最多返回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>
 
{
 
{
    "next_cursor": -1,
+
"users":
    "previous_cursor": -1,
+
[
    "users": [
+
{
        {
+
"id":1345454230,
            "allow_all_act_msg": false,  
+
"screen_name":"浮云",
            "city": "1000",  
+
"name":"浮云",
            "created_at": "Sat Mar 06 00:00:00 +0800 2010",  
+
"province":"11",
            "description": "\u6280\u672f",  
+
"city":"1000",
            "domain": "pusuo",  
+
"location":"北京",
            "favourites_count": 0,
+
"description":"属性:漂浮",
            "followers_count": 788,  
+
"url":"http://blog.sina.com.cn/cfytest",
            "following": false,
+
"profile_image_url":"http://tp3.sinaimg.cn/1345454230/50/1279877572",
            "friends_count": 53,  
+
"domain":"cfytest",
            "gender": "m",  
+
"gender":"m",
            "geo_enabled": false,
+
"followers_count":3161,
            "id": 1705715797,  
+
"friends_count":1944,
            "location": "\u5317\u4eac",  
+
"statuses_count":6590,
            "name": "\u666e\u7d22",  
+
"favourites_count":0,
            "profile_image_url": "http://tp2.sinaimg.cn/1705715797/50/1275747637",  
+
"created_at":"Fri Jun 11 00:00:00 +0800 2010",
            "province": "11",  
+
"following":false,"allow_all_act_msg":false,
            "screen_name": "\u666e\u7d22",  
+
"geo_enabled":false,
            "status": {
+
"verified":false,
                "created_at": "Mon Aug 09 16:00:02 +0800 2010",  
+
"status":
                "favorited": false,  
+
{
                "geo": null,  
+
"created_at":"Mon Aug 09 14:08:42 +0800 2010",
                "id": 1617374289,  
+
"id":1615082362,
                "in_reply_to_screen_name": "",
+
"text":"挺酷",
                "in_reply_to_status_id": "",  
+
"source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>",
                "in_reply_to_user_id": "",  
+
"favorited":false,
                "source": "<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">\u65b0\u6d6a\u5fae\u535a</a>",  
+
"truncated":false,
                "text": "\u300a\u5f81\u9014\u300b\u56de\u5e94\u73a9\u5bb6\u56f4\u653b\u4f20\u95fb---  \u3010TechWeb\u6d88\u606f\u30118\u67083\u65e5\u6d88\u606f\uff0c\u9488\u5bf9\u4eca\u65e5\u4e1a\u5185\u79f0\u201c\u6709\u73a9\u5bb6\u56f4\u653b\u5de8\u4eba\u201d\u7684\u4f20\u95fb\uff0c\u300a\u5f81\u9014\u300b\u505a\u51fa\u56de\u5e94\u5e76\u8f9f\u8c23\u3002 \u58f0\u660e\u5168\u6587\u5982\u4e0b\uff1a  8\u67083\u65e5\u4e0b\u5348\uff0c\u4e03\u4f4d\u300a\u5f81\u9014\u300bhttp://sinaurl.cn/q5KVA",  
+
"in_reply_to_status_id":"",
                "truncated": false
+
"in_reply_to_user_id":"",
            },  
+
"in_reply_to_screen_name":"",
            "statuses_count": 18059,  
+
"geo":null,
            "url": "http://1",  
+
"retweeted_status":
            "verified": false
+
{
        },  
+
"created_at":"Mon Aug 09 01:01:00 +0800 2010","id":1605904887,
        {
+
"text":"换了一个新头像,但是必须结合我的微博首页才能看明白…… http://t.sina.com.cn/marilawang",
            "allow_all_act_msg": false,  
+
"source":"<a href=\"http://t.sina.com.cn/\" rel=\"nofollow\">新浪微博</a>",
            "city": "1",
+
"favorited":false,
            "created_at": "Thu Jul 29 00:00:00 +0800 2010",  
+
"truncated":false,
            "description": "",  
+
"in_reply_to_status_id":"",
            "domain": "",  
+
"in_reply_to_user_id":"",
            "favourites_count": 0,  
+
"in_reply_to_screen_name":"",
            "followers_count": 52,  
+
"geo":null,
            "following": false,  
+
"user":{
            "friends_count": 21,  
+
"id":1644284007,
            "gender": "m",  
+
"screen_name":"马日拉",
            "geo_enabled": false,  
+
"name":"马日拉",
            "id": 1773365880,  
+
"province":"31",
            "location": "\u5e7f\u4e1c \u5e7f\u5dde",  
+
"city":"7",
            "name": "testmonitor",  
+
"location":"上海 普陀区",
            "profile_image_url": "http://tp1.sinaimg.cn/1773365880/50/1280391323",  
+
"description":"你能在谷歌搜索“胡吴温贾李习贺周”,说明你在墙外。而我,在墙内生长开花。有一天,我们会相见的。",
            "province": "44",  
+
"url":"http://www.chinarealestatenews.com/",
            "screen_name": "testmonitor",  
+
"profile_image_url":"http://tp4.sinaimg.cn/1644284007/50/1281286785",
            "status": {
+
"domain":"marilawang",
                "created_at": "Fri Aug 06 13:33:12 +0800 2010",  
+
"gender":"m",
                "favorited": false,
+
"followers_count":27203,
                "geo": null,  
+
"friends_count":57,
                "id": 1551271647,  
+
"statuses_count":3655,
                "in_reply_to_screen_name": "",  
+
"favourites_count":0,
                "in_reply_to_status_id": "",  
+
"created_at":"Tue Sep 01 00:00:00 +0800 2009",
                "in_reply_to_user_id": "",  
+
"following":false,
                "source": "<a href=\"http://t.sina.com.cn/11054/\" rel=\"nofollow\">weibo java client</a>",  
+
"allow_all_act_msg":false,
                "text": "basicAuth--1281072792.6--nanjing4",  
+
"geo_enabled":false,
                "truncated": false
+
"verified":true
            },  
+
}
            "statuses_count": 15738,  
+
}
            "url": "",  
+
}
            "verified": false
+
},
        }
+
{}......
    ]
+
]
 
}
 
}
 
</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