Requesting help with Youtube Twitch.tv tutorial

Requesting help with Youtube Twitch.tv tutorial
0

#1

I am using the fCC Youtube tutorial on how to build a Twitch.tv app here:https://youtu.be/BvPmLSN1X5I?t=4m41s and am building the .getJSON function with the workaround version of the API key https://wind-bow.gomix.me/twitch-api. The function is not outputting anything with this workaround. Could I get some help in figuring out what I am doing wrong? My code pen is https://codepen.io/ksirgey/pen/yPZgYa?editors=1010. Thanks!


#2

Try changing gomix.me to glich.me glitch.me in the URL. It cleared the CORS warning for me and got data.


#3

This is what I have: var url = “https://wind-bow.glich.me/twitch-api/streams/freecodecamp”; now. It’s not outputting anything yet. How does my url string look? Does it contain everything I need?


#4

Oops, sorry, I made a typo in my post. It should be glitch, not glich.


#5

Thanks! It’s working now.