Ich versuche Videos auf YouTube
hochzuladen, aber irgendwie funktioniert es nicht in Xamarin.Forms (Portable)
Projekt. Gibt es eine Möglichkeit, die Videos in YouTube
durch Xamarin.Forms (Portable)
So laden Sie Videos auf YouTube hoch [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;
aber jedes Mal, wenn ich bin immer null in TokenResponse token
hochladen, bin ich nicht sicher, was soll ich anstelle von user
in flow.LoadTokenAsync("user", CancellationToken.None)
passieren
danken Ihnen.
Ich schlage vor, dass Sie dies als ein Problem in der Client-Bibliothek veröffentlichen. https://github.com/google/google-api-dotnet-client/issues – DaImTo