C/2/friendships/followers/demographics

跳转到: 导航, 搜索

friendships/followers/demographics

获取用户粉丝的星座、兴趣标签和粉丝量级的细分数据

URL

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

支持格式

JSON

HTTP请求方式

GET

是否需要登录


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

访问授权限制


请求参数

  必选 类型及范围 说明
source false string 采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。
access_token false string 采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。
uid true int64 需要查询的用户ID。
property true string 查询条件。tag:兴趣标签;astro:星座;fan:粉丝量级。

注意事项

  • 针对前一天的粉丝数据进行的分析;

返回结果

JSON示例

//粉丝星座
{
    "uid": 10438,
    "result": 
        {
            day_key: "2017-06-24",
            Gemini: "9",
            Scorpio: "7",
            Sagittarius: "4",
            Unknown: "26",
            Virgo: "13",
            Leo: "9",
            Libra: "15",
            Cancer: "16",
            Pisces: "10",
            Aries: "5",
            Capricorn: "13",
            Aquarius: "7",
            Taurus: "9"
        }
}

//粉丝兴趣标签
{
    "uid": 10438,
    "result": 
        {
            day_key: "2017-06-25",
            媒体: "52",
            旅游: "22",
            宠物: "5",
            健康: "4",
            时尚: "21",
            影视: "36",
            星座: "17",
            教育: "13",
            财经: "11",
            汽车: "6",
            动漫: "13"
        }
}

//粉丝量级
{
    "uid": 10438,
    "result": 
        {
            day_key: "2017-06-25",
            1000-1999: "12",
            50-99: "13",
            10-49: "12",
            500-999: "21",
            3000-3999: "2",
            200-299: "22",
            10000-49999: "3",
            2000-2999: "2",
            0-9: "3",
            300-399: "16",
            100-199: "24",
            4000-4999: "1",
            5000-9999: "4",
            400-499: "8"
        }
}


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

字段说明

其他



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


api评价