C/2/users/behavior trend-en

跳转到: 导航, 搜索
(以“{{Api_desc_business| uri=users/behavior_trend| desc=test 。| httpMethod=GET| needAuth=是| rateLimit={{B_rate_limit}}| params={{api_args|starttime|true|string|开...”为内容创建页面)
 
 
(未显示1个用户的8个中间版本)
第1行: 第1行:
{{Api_desc_business|
+
{{Api_desc_business_en|
 
uri=users/behavior_trend|
 
uri=users/behavior_trend|
desc=test 。|
+
desc=Return daily variation trend of the authorized users' behavior data.|
 
httpMethod=GET|
 
httpMethod=GET|
needAuth=|
+
needAuth=true|
rateLimit={{B_rate_limit}}|
+
rateLimit={{B_rate_limit_en}}|
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>
第14行: 第14行:
 
         {
 
         {
 
             "day_key": "2011-12-12",
 
             "day_key": "2011-12-12",
             "followers_count": "63",  //粉丝数
+
             "followers_count": "63",  //followers’ number
             "v_followers_count": "18", //V粉丝数
+
             "v_followers_count": "18", //verified followers' number
             "daren_followers_count": "18", //达人粉丝数
+
             "daren_followers_count": "18", //master followers' number
             "friends_count": "58",    //关注数
+
             "friends_count": "58",    //followings' number
             "v_friends_count": "58",  //V关注数
+
             "v_friends_count": "58",  //verified followings’ number
             "receive_comments_count": "53150",  //被评论数
+
             "receive_comments_count": "53150",  //number of received comments
             "statuses_count": "258",  //微博数
+
             "statuses_count": "258",  //number of posted weibo
             "bi_followers_count": "18",  //互粉数
+
             "bi_followers_count": "18",  //number of mutual followings
             "repost_count": "115", //转发数
+
             "repost_count": "115", //number of weibo reposts
             "reposted_count": "111055"  //被转发数
+
             "reposted_count": "111055"  //number of weibo reposted
             "comments_count": "178",  //评论数
+
             "comments_count": "178",  //number of comments
 
         },
 
         },
 
         ...
 
         ...
第30行: 第30行:
 
}
 
}
 
</pre>|
 
</pre>|
resultDes=|
+
resultDes=none|
 
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月16日 (四) 21:01的最后版本

users/behavior_trend

Return daily variation trend of the authorized users' behavior data.

URL

https://c.api.weibo.com/2/users/behavior_trend.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.
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",   //followers’ number
            "v_followers_count": "18", //verified followers' number
            "daren_followers_count": "18", //master followers' number
            "friends_count": "58",    //followings' number
            "v_friends_count": "58",  //verified followings’ number
            "receive_comments_count": "53150",  //number of received comments
            "statuses_count": "258",   //number of posted weibo
            "bi_followers_count": "18",  //number of mutual followings
            "repost_count": "115", //number of weibo reposts
            "reposted_count": "111055"  //number of weibo reposted
            "comments_count": "178",   //number of comments
        },
        ...
    ]
}

See the Error Code Description for the error information details.

Field Description

none

Others

none

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


文档更新时间: 2015-07-16
api评价