Last Line of the second segment should be: List<PlayListMember> playListMembers = new List<PlayListMember>(playListMembersFeed .Entries);
However, even when I do use the above lines, the videos are not added.From http://code.google.com/apis/youtube/2.0/developers_guide_dotnet.html#Batch_processing
// Retrieve the user's playlists feed and create a list of playlists
Feed<Playlist> playlistsFeed = request.GetPlaylistsFeed(null);
List<Playlist> playlists = new List(playlistsFeed.Entries);
// Retrieve a list of the videos in the third playlist in the feed.
// (You could choose another playlist.)
Feed<PlayListMember> playListMembersFeed =
request.GetPlaylist(playlists[2]);
List<PlayListMember> playListMembers =
new List<PlayListMember>(playlistsMembersFeed.Entries);
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/NLE-_XiCKO0J.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment