Search code examples
youtubeyoutube-apiyoutube-data-apiandroid-youtube-api

Can we get user's YouTube data (history, recommended videos, ...) through YouTube API?


I'm new to YouTube API. Is it possible to get user's data if he is authenticated into my application using his Google account.


Solution

  • The YouTube Api v2 used to have a feature like this if i remember correctly. Unforutnatly that API has long since been shut down.

    Activites.list which just gives a list of video's recommend that the user watch. There is nothing for History of what videos the user has watched or liked.

    Authenticated:

    If the user is authenticated you can use the home parameter which is used to show the videos that would be recommend to said user by YouTube

    Set this parameter's value to true to retrieve the activity feed that displays on the YouTube home page for the currently authenticated user.