C/2/users/behavior trend-en
(未显示1个用户的7个中间版本) | |||
第1行: | 第1行: | ||
− | {{ | + | {{Api_desc_business_en| |
uri=users/behavior_trend| | uri=users/behavior_trend| | ||
− | desc=Return daily variation trend of the authorized | + | desc=Return daily variation trend of the authorized users' behavior data.| |
httpMethod=GET| | httpMethod=GET| | ||
needAuth=true| | needAuth=true| | ||
− | rateLimit={{ | + | rateLimit={{B_rate_limit_en}}| |
− | params={{api_args|starttime|true|string| | + | params={{api_args|starttime|true|string|The format of the starting time is xxxx-xx-xx.}} |
− | {{api_args|endtime|true|string| | + | {{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_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_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 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.| |
− | 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;
- 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
文档更新时间: 2015-07-16