GData API 今天显示的行为与昨天不同。
我在我的 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 content] sourceURL],它加载了包含关键字的 xml。所以我不知道是什么导致了行为的改变。对我来说,它至关重要。该应用程序已在 AppStore 中发布...