frog0214 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Youtuberequest retrieve Video throws exception #587

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hey, I am trying to simply reproduce the sample code given for .NET Csharp to 
retrieve a video a Video from Youtube. The code looks like this:

YouTubeRequestSettings settings = new YouTubeRequestSettings(MYAPPNAME, 
MYAPPID);
            YouTubeRequest request = new YouTubeRequest(settings);
            Uri videoEntryUrl =
                new Uri("http://gdata.youtube.com/feeds/api/videos/VIDEOID");

                Video video = request.Retrieve<Video>(videoEntryUrl); --> at this point a system.exception is thrown with the message: "/feeds/api/videos/VIDEOID"

                printVideoEntry(video);

I am using Visual Studio 2010 on Win7, every .dll is imported as it should, and 
namespaces are added (obviously). I cant seem to identify the problem, any 
ideas? Thanks in advance :)

Original issue reported on code.google.com by osvays...@gmail.com on 28 Apr 2012 at 1:16

GoogleCodeExporter commented 8 years ago
See http://code.google.com/p/google-gdata/issues/detail?id=585 for solution

HTH

Original comment by Mike.Lim...@gmail.com on 28 Apr 2012 at 6:29

GoogleCodeExporter commented 8 years ago
Please checkout the latest source from the repository to fix this issue, a new 
minor release will be released soon to address this problem.

Original comment by ccherub...@google.com on 28 Apr 2012 at 7:50

GoogleCodeExporter commented 8 years ago
Version 2.0.1 of the library has been released yesterday to include the fix for 
this issue

Original comment by ccherub...@google.com on 1 May 2012 at 4:08