Tag: youtube api v3

YouTube V3 API – Google.Apis.Requests.RequestErrorBackend错误

后端错误[503]后端错误[503]后端错误[503]后端错误[503]

如何使用Google.Apis.YouTube.v3和C#将video上传到youtube?

我用C#创建了console应用程序。 这将把Video从本地驱动器upload到youtube 。 我使用此链接在google api中创建了新应用。 我还使用nuget安装了所有必需的packages 。 当我运行我的应用程序时,我收到错误“ 访问被拒绝 ”我无法找到问题。 我在Task Run()方法中遇到错误。 using System; using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Google.Apis.Auth.OAuth2; using Google.Apis.Services; using Google.Apis.Upload; using Google.Apis.Util.Store; using Google.Apis.YouTube.v3; using Google.Apis.YouTube.v3.Data; namespace Google.Apis.YouTube.Samples { /// /// YouTube Data API v3 sample: create a playlist. /// Relies on the Google APIs Client Library […]