Dhruti90 / google-gdata1111

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

Execution of request failed: http://gdata.youtube.com/feeds/videos #330

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi All,

I am using the below code..........

YouTubeRequestSettings settings = new YouTubeRequestSettings("example app",
"", devKey);
YouTubeRequest request = new YouTubeRequest(settings);
string sViedoUrl =  "http://gdata.youtube.com/feeds/videos";
Uri videoEntryUrl = new Uri(sViedoUrl);

  Video video = request.Retrieve<Video>(videoEntryUrl);

While creating video its throwing an exception "Execution of request
failed: http://gdata.youtube.com/feeds/videos"
Can someone help me.

Thanks in advance.

Original issue reported on code.google.com by aman.ana...@gmail.com on 10 Feb 2010 at 12:39

GoogleCodeExporter commented 9 years ago
Yes. This is not a bug. 

You are trying to retrieve a single video with that line of code, but you are 
passing in a uri for a feed of videos.

Why don't you look at some of the samples for youtube, or the unittests for 
youtube? As i don't know what you 
are trying to accomplish, i am at a loss in trying to help you with a concrete 
example

Original comment by fman...@gmail.com on 10 Feb 2010 at 2:50