Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

.net YouTube library integration

$
0
0

I have some problem for integrate YouTube API on my webapp, I already use Analytics API and this works, but when I try to add YouTube service I get this error:

Il tipo 'Google.Apis.Services.BaseClientService'è definito in un assembly di cui manca il riferimento. Aggiungere un riferimento all'assembly 'Google.Apis, Version=1.10.0.25332, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab'.

Here is the code:

using Google.Apis;using Google.Apis.Auth;using Google.Apis.Services;using Google.Apis.Analytics.v3;using Google.Apis.Analytics.v3.Data;using Google.Apis.YouTube.v3;using Google.Apis.YouTube.v3.Data;public class DashBoard     {    protected ServiceAccountCredential credential = null;    protected AnalyticsService analytics_service = null;    protected YouTubeService youTube_service = null; .....

The line that create the error is this: protected YouTubeService....' removing this it all works, adding this I get the error.

What can I check for find the mistake?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>