YOUTUBE API with C#
-
I'm trying to create a website with youtube APIs using C# 2008 (.NET), Being a beginner and getting my feet wet with this, I wonder if anyone can give me some tips n tricks, or possibly an example code/ step by step instructions on doing this. I've read the 'Developers Guide: .NET' on the code.google.com site and it's like trying to learn french through the internet :confused: if you know what I mean. I have made sites before but exclusively with html and css. Main Questions: 1.What exactly do I write the C# language in? (Im using C# 2008 however how exactly do I put this on my webpage???) 2.I would loove to see a FULL snippet(s) on an actual page with youtube APIs (or any APIs for that matter, since I have not found anything with FULL code start to finish) that I can copy and paste into whatever it is I put the C# language in and try to view it on my webpage and modify it from there. 3. The Developers guide gives this: The following code retrieves a YouTubeEntry corresponding to a video on YouTube
String videoEntryUrl = "http://gdata.youtube.com/feeds/api/videos/ADos\_xW4\_J0";
YouTubeEntry videoEntry = (YouTubeEntry) service.Get(videoEntryUrl);
Console.WriteLine("Title: " + videoEntry.Title.Text);
Console.WriteLine(videoEntry.Media.Description.Value);I would like to know WHERE DO I PUT THIS CODE?? I am a person that learns very well visually, so pictures/code snippets/ illustrations are better than words, unless they're instructions of course. I guess you can understand the urgency of knowing this for me, thanks alot for all help :-D I'm sure one developer can help another developer Thanks -Alex-
-
I'm trying to create a website with youtube APIs using C# 2008 (.NET), Being a beginner and getting my feet wet with this, I wonder if anyone can give me some tips n tricks, or possibly an example code/ step by step instructions on doing this. I've read the 'Developers Guide: .NET' on the code.google.com site and it's like trying to learn french through the internet :confused: if you know what I mean. I have made sites before but exclusively with html and css. Main Questions: 1.What exactly do I write the C# language in? (Im using C# 2008 however how exactly do I put this on my webpage???) 2.I would loove to see a FULL snippet(s) on an actual page with youtube APIs (or any APIs for that matter, since I have not found anything with FULL code start to finish) that I can copy and paste into whatever it is I put the C# language in and try to view it on my webpage and modify it from there. 3. The Developers guide gives this: The following code retrieves a YouTubeEntry corresponding to a video on YouTube
String videoEntryUrl = "http://gdata.youtube.com/feeds/api/videos/ADos\_xW4\_J0";
YouTubeEntry videoEntry = (YouTubeEntry) service.Get(videoEntryUrl);
Console.WriteLine("Title: " + videoEntry.Title.Text);
Console.WriteLine(videoEntry.Media.Description.Value);I would like to know WHERE DO I PUT THIS CODE?? I am a person that learns very well visually, so pictures/code snippets/ illustrations are better than words, unless they're instructions of course. I guess you can understand the urgency of knowing this for me, thanks alot for all help :-D I'm sure one developer can help another developer Thanks -Alex-
bmx4637 wrote:
.What exactly do I write the C# language in?
You should download the Web Developer Express Edition, it helps you create ASP.NET sites.
bmx4637 wrote:
I would loove to see a FULL snippet(s) on an actual page with youtube APIs (or any APIs for that matter, since I have not found anything with FULL code start to finish) that I can copy and paste into whatever it is I put the C# language in and try to view it on my webpage and modify it from there.
bmx4637 wrote:
I would loove to see a FULL snippet(s) on an actual page with youtube APIs
A youtube video is just going to be embedded HTML, they would just have a control you use, I assume.
bmx4637 wrote:
I would like to know WHERE DO I PUT THIS CODE??
Well, I am not sure you know anything about ASP.NET at this point. Console.WriteLine won't help you, unless this program just emits HTML that you then embed in your aspx of your page.
Christian Graus Driven to the arms of OSX by Vista.
-
I'm trying to create a website with youtube APIs using C# 2008 (.NET), Being a beginner and getting my feet wet with this, I wonder if anyone can give me some tips n tricks, or possibly an example code/ step by step instructions on doing this. I've read the 'Developers Guide: .NET' on the code.google.com site and it's like trying to learn french through the internet :confused: if you know what I mean. I have made sites before but exclusively with html and css. Main Questions: 1.What exactly do I write the C# language in? (Im using C# 2008 however how exactly do I put this on my webpage???) 2.I would loove to see a FULL snippet(s) on an actual page with youtube APIs (or any APIs for that matter, since I have not found anything with FULL code start to finish) that I can copy and paste into whatever it is I put the C# language in and try to view it on my webpage and modify it from there. 3. The Developers guide gives this: The following code retrieves a YouTubeEntry corresponding to a video on YouTube
String videoEntryUrl = "http://gdata.youtube.com/feeds/api/videos/ADos\_xW4\_J0";
YouTubeEntry videoEntry = (YouTubeEntry) service.Get(videoEntryUrl);
Console.WriteLine("Title: " + videoEntry.Title.Text);
Console.WriteLine(videoEntry.Media.Description.Value);I would like to know WHERE DO I PUT THIS CODE?? I am a person that learns very well visually, so pictures/code snippets/ illustrations are better than words, unless they're instructions of course. I guess you can understand the urgency of knowing this for me, thanks alot for all help :-D I'm sure one developer can help another developer Thanks -Alex-
-
-
For future, please do not repost your question. Prateek