Status Undefined

Status Undefined
0

#1

Can anyone kindly point me in the right direction as to why my JSON calls are not working - when I console log them it comes up with “undefined”.

http://codepen.io/jameswinfield/pen/Gqdkvg?editors=1111

I’ve been racking my brain for a good hour or so now.

Thanks
James


#2

Your JSON calls are working, but you are trying to access properties that do not exist. Try console.log(data) and see which properties are available. An online stream will have way more properties than an offline stream.


Really stuck at twitchTV project
#3

Much appreciated - the nudge I needed!