YouTube
에 동영상을 업로드하려고하는데 어쨌든 Xamarin.Forms (Portable)
프로젝트에서 작동하지 않습니다. Xamarin.Forms (Portable)
YouTube에 동영상을 업로드하는 방법 [Xamarin.Forms (Portable)]
var initializer = new GoogleAuthorizationCodeFlow.Initializer
{
ClientSecrets = new ClientSecrets
{
ClientId = Constants.API.Google.ClientID,
ClientSecret = Constants.API.Google.ClientSecret
},
Scopes = new[] { YouTubeService.Scope.Youtube }
};
var flow = new AuthorizationCodeFlow(initializer);
TokenResponse token = flow.LoadTokenAsync("user", CancellationToken.None).Result;
하지만 때마다 내가 TokenResponse token
에 null을 얻고 통해 YouTube
에 동영상을 업로드 할 수있는 방법이 있는가, 나는
flow.LoadTokenAsync("user", CancellationToken.None)
에 user
대신에 통과 감사해야하는지 모르겠습니다.
클라이언트 라이브러리에서 문제로 게시하는 것이 좋습니다. https://github.com/google/google-api-dotnet-client/issues – DaImTo