0
我試圖從私人到公衆更新YouTube視頻。但我得到的editlink是null。編輯鏈接爲空時,使用YouTube API將私人公開到YouTube更改YouTube視頻
這裏是我的代碼:
// returns a youtube service
GDataServiceGoogleYouTube *service = [self youtubeService];
[service setAuthToken:[self getRequestToken]];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"https://gdata.youtube.com/feeds/api/videos/%@?v=2&key=%@", youtube_id, DEVELOPER_KEY]];
GDataServiceTicket *ticket;
ticket = [service fetchFeedWithURL:url delegate:self didFinishSelector:@selector(didFinishFetchingVideo:withEntry:error:)];
回調
,[的VideoEntry EDITLINK]爲空。
謝謝,這是問題所在 – Goli