Is there a way to get historical youtube subscriber information?

耗尽温柔 提交于 2019-12-11 03:45:24

问题


Currently I am retrieving daily subscriber information with the following request:

var videoOptions = {
        'part': 'snippet,contentDetails,statistics',
        'id': videoIds
    };

    // Send request
    youtube.videos.list(videoOptions, (err, videoDetails) => {});

My question is there a way to get historical subscriber information either through the Data API or Analytics API?

I see there is a way to see subs gained or lost over a period of time but I don't know what the base is to compare against:

https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3D{channelID}&start-date=2017-07-31&end-date=2017-08-01&&metrics=subscribersLost%2CsubscribersGained

回答1:


There is currently no way to retrieve the historical number of subscribers in the past. The only way you can track your subscriber change is to perform channels.list, setting mySubscribers property to true and do it the next day. No method to check for history. This is also confirmed in this SO post.




回答2:


Depending on how large your subscriber base is, you could try checking the list of when users started subscribing at https://www.youtube.com/subscribers Perhaps this can offer some insight, and the number of rows/users returned can be counted to give an indication of historical activity.



来源:https://stackoverflow.com/questions/45578222/is-there-a-way-to-get-historical-youtube-subscriber-information

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!