Twitch.tv Project_Request for advice and help

Twitch.tv Project_Request for advice and help
0.0 0

#1

Hello. Here is my Twitch.tv app so far. Wondering if I’m on the right track. Thanks!


#2

There are some JavaScript syntax errors causing your page to not work. Click on the exclamation mark in the bottom right hand corner of the JavaScript section and see where it is.

Also, once you resolve that, you will see some errors in the console.


#3

I was able to pinpoint the problem. I am now trying to append data for each streamer to my section div. Currently nothing is appending. Wondering if you could tell me if I’m on the right track. Many thanks!


#4

If you look at the console, you are getting an error because of this line:

$.getJSON('https://wind-bow.glitch.me/twitch-api/stream/' + dataFromI)

dataFromI is an object and not a string (which is how you are trying to use it). Put a console.log(dataFromI) before the $.getJSON call, so you can see what dataFromI contains.