YouTube API Get all videos uploaded feed
Posted
by Paul
on Stack Overflow
See other posts from Stack Overflow
or by Paul
Published on 2010-03-19T17:37:37Z
Indexed on
2010/03/19
17:41 UTC
Read the original article
Hit count: 421
Hi Guys,
I can't seem to retrieve ALL videos from a particular channel on YouTube, despite the API giving example code that should perform just that. I'm using Java.
http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads
The above rss feed is the URL they suggest using along with the following sample code..
/*init the list*/
String feedUrl = "http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads";
VideoFeed videoFeeder = null;
videoFeeder = serviceobject.getFeed(new URL(feedUrl), VideoFeed.class);
Looping this with a for loop suggests 25 entries (as per the RSS).
However - the actual number of videos uploaded is significantly larger. (662 at time of writing). My query is how on earth you retrieve everything with the API, not just a subset of the data. Any ideas on where I'm going wrong? Should I be using a different URL? http://www.youtube.com/GoogleDevelopers#g/a
© Stack Overflow or respective owner