Wednesday, January 8, 2014

YouTube Data API: Getting all uploaded videos from a channel

 var request = gapi.client.youtube.channels.list({
  'part': 'contentDetails',
  'mine': 'true'
  });

request.execute(function(resp) {uploadsVar = resp.items[0].contentDetails.relatedPlaylists.uploads});

  var request = gapi.client.youtube.playlistItems.list({
  'part': 'snippet',
  'playlistId': ""+uploadsVar+""
  });


7 comments:

  1. Can you do this code asp.net or at least in this video button click code show

    ReplyDelete
  2. this might help you: http://www.nailfashionsweden.se/youtubeInsights/

    ReplyDelete
  3. My YouTube data don't work they block me on YouTube for no reason terms of use for copyright makes no sense please fix my channel

    ReplyDelete
  4. My YouTube data don't work they block me on YouTube for no reason terms of use for copyright makes no sense please fix my channel

    ReplyDelete
  5. My TERRELL L WARDELL AS MRREDNBLACK T MAN on YouTube my data won't work that's not right I did nothing wrong on YouTube please fix this

    ReplyDelete
  6. My TERRELL L WARDELL AS MRREDNBLACK T MAN on YouTube my data won't work that's not right I did nothing wrong on YouTube please fix this

    ReplyDelete