[HELP] Twitch API

Hi,

my .getJSON is not working when I try to use console.log(user) can please someone help me try to figure that out? Maybe I did something wrong in my for loop or url’s I just don’t know yet. I’m trying to make the script give me the information about streamers that are not available anymore, that’s why I used ‘‘data3.error’’ but it seems to not work.

You said a lot of things that I don’t know about. I will try to learn them and see what I can do about my code.

Thank you very much.

Sorry to jump into this coversation.I came across the same problem once.@camperextraordinaire - how can we ask computer to execute ramaining set of codes after we received JSON data from the asynchronous call? Or Is there a workaround for this?

@Newt - You can get an understanding about synchronous and asynchronous calls from below article.

1 Like

That Clarified my issue. :slight_smile:
Thanks a lot!
:+1: