Jul 16, 2016 02:10
$(function () {
  var fccChannelURL = 'https://api.twitch.tv/kraken/users/freecodecamp/follows/channels/';
  var twitchChannelURL = 'https://api.twitch.tv/kraken/channels/';
  var twitchStreamsURL = 'https://api.twitch.tv/kraken/streams/';

  $.getJSON(fccChannelURL).then(function (data) {
    var subs = [
      'ESL_SC2',
      'OgamingSC2',
      'cretetion',
      'freecodecamp',
      'storbeck',
      'habathcx',
      'RobotCaleb'
    ];

    for (var i = 0; i < data.follows.length; i++) {
Jul 16, 2016 02:09
@DanPantry Still getting undefined on those Objects ..
Jul 14, 2016 17:16
Again, thanks Dan! I'm running out the door right now but I'll play with it and get back to you with more questions : )
Jul 14, 2016 06:41
Let me know if I wasn't clear anywhere
Jul 14, 2016 06:40
$(function () {
  var fccChannelURL = 'https://api.twitch.tv/kraken/users/freecodecamp/follows/channels/';
  var twitchChannelURL = 'https://api.twitch.tv/kraken/channels/';
  var twitchStreamsURL = 'https://api.twitch.tv/kraken/streams/';

  $.getJSON(fccChannelURL).then(function (data) {
    var subs = [
      'ESL_SC2',
      'OgamingSC2',
      'cretetion',
      'freecodecamp',
      'storbeck',
      'habathcx',
      'RobotCaleb'
    ];

    for (var i = 0; i < data.follows.length; i++) {
Jul 14, 2016 06:18
actually... I'm not getting an edit screen so I don't think it will be formatted if I just dump it here.. any ideas? should I put it up in jsFiddle ?
Jul 14, 2016 06:16
Here is your code with lots of questions in comments along side your own
Jul 14, 2016 06:16
Thanks for the invite and for all the help, I still have more questions - I was trying to work with the code and write them out as I went.. The code is now executing without errors but none of the users are making it to the subsPromise array from what I can judge..