2/friendships/followers/location count

跳转到: 导航, 搜索
(以“{{Api_desc_business| uri=friendships/followers/location_count| desc=获取当前用户粉丝的地区细分数据 。| httpMethod=GET| needAuth=是| rateLimit={{B_ra...”为内容创建页面)
 
第5行: 第5行:
 
needAuth=是|
 
needAuth=是|
 
rateLimit={{B_rate_limit}}|
 
rateLimit={{B_rate_limit}}|
params={{api_args|count|false|int|单页返回的记录条数,默认为50,最大不超过200。}}
+
params=|
{{api_args|cursor|false|int|返回结果的游标,下一页用返回值里的next_cursor,上一页用previous_cursor,默认为0。}}|
+
 
result=
 
result=
 
<pre>
 
<pre>

2012年4月17日 (二) 19:35的版本

friendships/followers/location_count

获取当前用户粉丝的地区细分数据 。

URL

https://c.api.weibo.com/2/friendships/followers/location_count.json

支持格式

JSON

HTTP请求方式

GET

是否需要登录


关于登录授权,参见 如何登录授权

访问授权限制


请求所有商业接口:

    • 50000次/小时/IP;

请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。

注意事项

  • 仅限V用户,否则返回数据为空;
  • 只细分到一级地区,到省级;
  • 针对前一天的粉丝数据进行的分析;

返回结果

JSON示例

{
    "uid": 10438,
    "result": [
        {
            "total_count": "121",
            "locations": [
                {
                    "count": "56",
                    "province": "13"  //省级地区编码
                   
                },
                ...
            ]
        }
    ]
}

关于错误返回值与错误代码,参见 错误代码说明

字段说明

其他



Language: [[{{{2/uri}}}|中文]]


api评价