Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. YOUTUBE API with C#

YOUTUBE API with C#

Scheduled Pinned Locked Moved C#
tutorialcsharplearninghtmlcss
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bmx4637
    wrote on last edited by
    #1

    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-

    C P 2 Replies Last reply
    0
    • B bmx4637

      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-

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • B bmx4637

        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-

        P Offline
        P Offline
        Pr teek B h
        wrote on last edited by
        #3

        If you would like to learn asp.net and c#, then I would advice this book: Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Welcome to the world of C# :) Prateek

        B 1 Reply Last reply
        0
        • P Pr teek B h

          If you would like to learn asp.net and c#, then I would advice this book: Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Welcome to the world of C# :) Prateek

          B Offline
          B Offline
          bmx4637
          wrote on last edited by
          #4

          :) thanks

          P 1 Reply Last reply
          0
          • B bmx4637

            :) thanks

            P Offline
            P Offline
            Pr teek B h
            wrote on last edited by
            #5

            For future, please do not repost your question. Prateek

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups