I have been using google's reputed API V2 for uploading the videos on YouTube from my web application as there has been up gradation in API to V3 , I am unable to upload the same through the same code.
I have tried with the new application for uploading the video on YouTube with V3, but there are many things which were there before but not available in V3
OLD: From: Google.Gdata.YouTube.Youtubeservice
YouTubeService service = new YouTubeService(applicationName,developerKey);
service.setUserCredentials(googleEmail, googleEmailPassword);
NEW: From : Google.Apis.Youtube.V3.YoutubeService
YouTubeService service = new YouTubeService();` -- its doesn't have the set credentials
I have gone through YouTube Data API .NET Code Samples, but it was not much useful as it’s an console application.
You cant use Login and password anymore. You need to use Oauth2 to authenticate a user. The code is the same if it is a web or a console application.
Usage:
code ripped from the Google-dotnet-Samples/ youtube