C/2/users/behavior trend-en

跳转到: 导航, 搜索
第5行: 第5行:
 
needAuth=true|
 
needAuth=true|
 
rateLimit={{B_rate_limit}}|
 
rateLimit={{B_rate_limit}}|
params={{api_args|starttime|true|string|开始时间,格式为XXXX-XX-XX。}}
+
params={{api_args|starttime|true|string|The format of the starting time is xxxx-xx-xx.}}
{{api_args|endtime|true|string|结束时间,格式为XXXX-XX-XX。}}|
+
{{api_args|endtime|true|string|The format of the ending time is xxxx-xx-xx.}}|
 
result=
 
result=
 
<pre>
 
<pre>
第32行: 第32行:
 
resultDes=无|
 
resultDes=无|
 
useAge=
 
useAge=
*数据最长保存纪录1个月;
+
• The data can be kept for at most one month.
*起始日期与终止日期可以相同;
+
• The start date and the end date can be the same.
*该数据仅限蓝V用户,否则返回数据为空;
+
• This data is only available to users with “blue V”.(blue V users),otherwise no return data.
*返回的微博数、转发数、评论数是前一天产生的数量,其他数值为截止到前一天为止历史积累的数量;|
+
• The returning number of posts, reposts and comments is the same with that produced last day. Others equals to the historical amount until the last day.|
otherInfo=
+
otherInfo=none
 
}}{{#a:showgrade}}
 
}}{{#a:showgrade}}

2015年7月15日 (三) 21:15的版本

users/behavior_trend

Return daily variation trend of the authorized users’ behaviors data.

URL

https://c.api.weibo.com/2/users/behavior_trend.json

Supported Formats

JSON

HTTP Request Method

GET

Login Requirement

true
See Login and Authorization for details.

Authorized Access Limitation


请求所有商业接口:

    • 50000次/小时/IP;

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey.
access_token false string This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth.
starttime true string The format of the starting time is xxxx-xx-xx.
endtime true string The format of the ending time is xxxx-xx-xx.

Notes

• The data can be kept for at most one month. • The start date and the end date can be the same. • This data is only available to users with “blue V”.(blue V users),otherwise no return data. • The returning number of posts, reposts and comments is the same with that produced last day. Others equals to the historical amount until the last day.

Response

JSON Example

{
    "uid": 10438,
    "result": [
        {
            "day_key": "2011-12-12",
            "followers_count": "63",   //粉丝数
            "v_followers_count": "18", //V粉丝数
            "daren_followers_count": "18", //达人粉丝数
            "friends_count": "58",    //关注数
            "v_friends_count": "58",  //V关注数
            "receive_comments_count": "53150",  //被评论数
            "statuses_count": "258",   //微博数
            "bi_followers_count": "18",  //互粉数
            "repost_count": "115", //转发数
            "reposted_count": "111055"  //被转发数
            "comments_count": "178",   //评论数
        },
        ...
    ]
}

Please see Error Code Description for details of error information.

Field Description

Others

none

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


api评价