GData API今天顯示了與昨天不同的行爲。google-api-objectivec-client youtube播放列表feed沒有關鍵字
我取了幾個播放列表在我的iOS應用程序是這樣的:
[[self youTubeService] fetchFeedWithURL:[[playlistLink content] sourceURL]
delegate:self
didFinishSelector:@selector(playlistTicket:finishedWithFeed:error:)];
在我的回調
- (void)playlistTicket:(GDataServiceTicket *)ticket finishedWithFeed:(GDataFeedYouTubePlaylist *)feed error:(NSError *)error {
if(!error){
_receivedPlaylistFeeds += 1;
NSMutableDictionary* sectionDict = [[NSMutableDictionary alloc] init];
NSMutableArray* sectionEntries = [[NSMutableArray alloc] init];
for(GDataEntryYouTubeVideo* entry in feed.entries){
GDataYouTubeMediaGroup* mediaGroup = [entry mediaGroup];
GDataMediaKeywords* mediaKeywords = [mediaGroup mediaKeywords];
NSArray* keyword = [mediaKeywords keywords];
}
}}
關鍵字是零。昨天不是。我依賴這些關鍵字,不知道可能是什麼問題。我在瀏覽器中查看了[[playlistLink內容] sourceURL],並加載了包含關鍵字的xml。所以我不知道是什麼導致了行爲的變化。對我來說它至關重要。該應用程序已經在AppStore ...
我在api博客網站上發現了一些說明:http://apiblog.youtube.com/2012/08/video-tags-just-for-uploaders.html – Jakob