C/2/friendships/followers/online time/biz-en

跳转到: 导航, 搜索

friendships/followers/online_time/biz

get the data about when your fans are online.

URL

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

Supported Formats

JSON

HTTP Request Method

GET

Login Requirement

true
See Login and Authorization for details.

Authorized Access Limitation

Request for all the business API:

    • 50000 times per hour per 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.
type true int type,hour:when your fans are online in one day,day:when your fans are online in one week

Notes

None

Response

JSON Example

//hour:when your fans are online in one day
{
     uid:"124353",
     result: [
             {  
                 day:"Overall",   
                 0:"23",    //0:00-1:00
                 1:"35",    //1:00-2:00
                 2:"38",    //2:00-3:00
                 3:"39",    
                 4:"45",
                 5:"49",
                 6:"67",
                 7:"69",
                 ...
                 22:"120",  //22:00-23:00
                 23:"132"   //23:00-24:00
             },
             {
                 day:"Monday",
                 0:"23",    //0:00-1:00
                 1:"35",    //1:00-2:00
                 2:"38",
                 3:"39",
                 4:"45",
                 5:"49",
                 6:"67",
                 7:"69",
                 ...
                 22:"120",  //22:00-23:00
                 23:"132"   //23:00-24:00
             },
             {
                 day:"Tuesday",
                 0:"23",    //0:00-1:00
                 1:"35",    //1:00-2:00
                 2:"38",
                 3:"39",
                 4:"45",
                 5:"49",
                 6:"67",
                 7:"69",
                 ...
                 22:"120",  //22:00-23:00
                 23:"132"   //23:00-24:00
             },
             ...
              {
                 day:"Sunday",
                 0:"23",    //0:00-1:00
                 1:"35",    //1:00-2:00
                 2:"38",
                 3:"39",
                 4:"45",
                 5:"49",
                 6:"67",
                 7:"69",
                 ...
                 22:"120",  //22:00-23:00
                 23:"132"   //23:00-24:00
             }
    ]
   
}

//day:when your fans are online in one week
{
     uid:"124353",
     result: [
             {
                 day:"Monday",
                 follower_count:"342"   
             },
             {
                 day:"Tuesday",
                 follower_count:"345"  
             },
             ...
             {
                 day:"Sunday",
                 follower_count:"230"   
             },
}

Please see Error Code Description for details of error information.

Field Description

None

Others

None

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


文档更新时间: 2017-12-27