C/2/users/behavior trend-en

跳转到: 导航, 搜索
 
(未显示1个用户的5个中间版本)
第1行: 第1行:
{{Api_desc_business-en|
+
{{Api_desc_business_en|
 
uri=users/behavior_trend|
 
uri=users/behavior_trend|
desc=Return daily variation trend of the authorized users’ behaviors data.|
+
desc=Return daily variation trend of the authorized users' behavior data.|
 
httpMethod=GET|
 
httpMethod=GET|
 
needAuth=true|
 
needAuth=true|
rateLimit={{B_rate_limit}}|
+
rateLimit={{B_rate_limit_en}}|
 
params={{api_args|starttime|true|string|The format of the starting time is xxxx-xx-xx.}}
 
params={{api_args|starttime|true|string|The format of the starting time is xxxx-xx-xx.}}
 
{{api_args|endtime|true|string|The format of the ending time is xxxx-xx-xx.}}|
 
{{api_args|endtime|true|string|The format of the ending time is xxxx-xx-xx.}}|
第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=
The data can be kept for at most one month.
+
*The data can be kept for at most one month.
The start date and the end date can be the same.
+
*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.
+
*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.|
+
*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=none
 
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评价