no keywords when fetching Youtube Playlists on iOS

42 views
Skip to first unread message

Jakob Sachse

unread,
Sep 5, 2012, 6:00:25 AM9/5/12
to gdata-objec...@googlegroups.com
Hi,

Since yesterday evening the behaviour of my App changed and i dont find the reason.

I am fetching youtube playlists using the GData XML API like this:

for(GDataEntryYouTubePlaylistLink* playlistLink in feed.entries){

[[self youTubeService] fetchFeedWithURL:[[playlistLink content] sourceURL]

                                           delegate:self

                                      didFinishSelector:@selector(playlistTicket:finishedWithFeed:error:)];

}

I checked the sourceURL in a browser and it loads a xml containing keywords. But in my callback 

- (void)playlistTicket:(GDataServiceTicket *)ticket finishedWithFeed:(GDataFeedYouTubePlaylist *)feed error:(NSError *)error {

GDataYouTubeMediaGroup* mediaGroup = [entry mediaGroup];

     GDataMediaKeywords* mediaKeywords = [mediaGroup mediaKeywords];

     NSArray* keyword = [mediaKeywords keywords];

}

keyword is nil. This wasn't so yesterday morning. Something must have been changed and I dont find the reason...

Can anyone help?




Greg Robbins

unread,
Sep 5, 2012, 11:03:24 PM9/5/12
to gdata-objec...@googlegroups.com
Turning on the library's http logging feature often makes issues like this more clear.


Reply all
Reply to author
Forward
0 new messages