У меня проблема с Youtube Api v3. Проблема в том, что вы хотите получить информацию из загруженного видео, при выполнении получения информации для видео, я получаю сообщение об ошибке 403 Forbidden.Ошибка 403 Запретный API-интерфейс Youtube V3
Если я запустил URL-адрес, я пользуюсь браузером, который возвращает Json me со всеми видеоданными.
Визуальная Ошибка Студия
Тот же URL в браузере.
if (videoId != "")
{
// If the video has the same description as a video and uploaded to YouTube, then I have removed that was uploaded earlier and upload the newrequest.Service.QueryClientLoginToken();
//Uri urlVideo = new Uri(String.Format("http://gdata.youtube.com/feeds/api/users/{0}/uploads/{1}", hipoConfig.canal_youtube, videoId)); This is This is the URL of the version 2.0
Uri urlVideo = new Uri(String.Format("https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&part=snippet", videoId, hipoConfig.clave_api));
Video ExistingVideo = request.Retrieve<Video>(urlVideo);
log.escribirInfoLog("Informacion: El video " + ExistingVideo.VideoId + "se elimina de YouTube para ser sustituido");
request.Delete(ExistingVideo);