Configure visual studio to use youtube API

Install youtube api for your application first:

y1

y2

 

PM> Install-Package Google.Apis.YouTube.v3

 

Add the following code in your cs file:

 

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;

 

Further details:

 

https://developers.google.com/api-client-library/dotnet/guide/aaa_oauth

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s