gpt4 book ai didi

objective-c - 我尝试删除youtube视频,但出现 “targetFeedReadOnly”错误

转载 作者:行者123 更新时间:2023-12-03 06:30:48 26 4
gpt4 key购买 nike

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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com