NSString *devKey = [mDeveloperKeyField text];
GDataServiceGoogleYouTube *service = [self youTubeService];
[service setYouTubeDeveloperKey:devKey];
[service setUserCredentialsWithUsername:(yotube e-mail account) password:(password)];
NSLog(@"%@",service.username);
NSURL *url = [GDataServiceGoogleYouTube youTubeURLForFeedID:nil];
NSLog(@"%@",url); //http://gdata.youtube.com/feeds/api/videos
NSString *urlString = [url absoluteString];
urlString = [NSString stringWithFormat:@"%@/%@",urlString,@"MooWz4o-NhE"];
[service deleteResourceURL:[NSURL URLWithString:urlString] ETag:nil delegate:nil didFinishSelector:nil];
我在上面的代码中尝试了
"targetFeedReadOnly"
错误。我能做什么?
最佳答案
检查您是否对此URL发出“GET”请求,否则,如果您使用“POST”或“PUT”不起作用...
关于objective-c - 我尝试删除youtube视频,但出现 “targetFeedReadOnly”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20918294/