C/2/friendships/followers/location count-en

跳转到: 导航, 搜索

friendships/followers/location_count

Get the location data of a user's fans.

URL

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

Supported Formats

JSON

HTTP Request Method

GET

Requires Login

true
See the Login and Authorization Mechanism Statement for login and authorization details.

Requests Count Limitation


Request all APIs:

    • 50000/hour/IP;

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth.The value of this parameter is the AppKey.
access_token false string This parameter is required when using OAuth.You will get the access_token after oauth authorization.
uid false int64 user id that needs to be searched

Notes

  • Only return the province distribution.

Response

JSON Example

{
    "uid": 10438,
    "result": 
        {
            "total_count": "121",
            "locations": [
                {
                    "count": "56",
                    "province": "13"  //code of province
                   
                },
                ...
            ]
        }
    
}

See the Error Code Description for the error information details.

Field Description

none

Others

none

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


文档更新时间: 2017-12-29
api评价