Does anyone know how I can get the user’s video history from an Android app? I’ve been searching but couldn’t find any examples.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With the new YouTube Data API v3 you can get the following user playlists:
https://developers.google.com/youtube/v3/docs/playlists
And the following user activities too:
https://developers.google.com/youtube/v3/docs/activities
I wrote an article with a tutorial on how to use the YouTube API v3 Android, but is written in Spanish:
http://fuse21.blogspot.com.ar/2013/01/utilizando-youtube-data-api-v3-desde.html
I believe that you can see the code changes and reuse them.
In the tutorial I made changes in the oficial sample tasks-android-sample ( this sample shows a list of tasks .. another service.. Tasks):
http://code.google.com/p/google-api-java-client/source/browse/tasks-android-sample/?repo=samples
and I show how to reuse the app to get the list of the user YouTube activities.
I believe that with this tutorial you can understand how use the YouTube API in Android to get the “user history..”