1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do load youtube feed, channel,use youtube apis v3 on windows store c#

Discussion in 'Google API' started by Englbach123, Jul 30, 2014.

  1. #1
    private void loadfeedYoutube()
        {
             string feedUrl="https://gdata.youtube.com/feeds/api/standardfeeds/most_popular";
             var request=new
             Feed<Video> videoFeed = request.Get<Video>(new Uri(feedUrl));
             printVideoFeed(videoFeed);
    
                static void printVideoFeed(Feed<Video> feed)
                {
                  foreach (Video entry in feed.Entries)
                  {
                    //load information onto listbox.
                  }
                }
        }
    Code (markup):
    using Google.Apis.Auth.OAuth2;
    using Google.Apis.Services;
    using Google.Apis.Upload;
    using Google.Apis.Util.Store;
    using Google.Apis.YouTube.v3;
    using Google.Apis.YouTube.v3.Data;
    Code (markup):
    I want load all feeds, channel music, sport. Its similar the home pages on youtube.com. Of course, Load all to listbox.
     
    Englbach123, Jul 30, 2014 IP
  2. Diskretni

    Diskretni Greenhorn

    Messages:
    111
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    23
    #2
    That's nice.
     
    Diskretni, Aug 26, 2016 IP