I have all the functionality of my twitch TV project working except this user story:
User Story: I will see a placeholder notification if a streamer has closed their Twitch account (or the account never existed). You can verify this works by adding brunofin and comster404 to your array of Twitch streamers.
So I need to notify the viewer if a twitch steamer’s account doesn’t exist. So I assume that by making a getJSON request to a non-existent account, I would receive some kind of null or undefined value. But the data received from a non-existent account is the same as the data received from an offline account. They both say: ‘stream’: null
Can anyone let me know how to distinguish offline accounts from non-existent accounts so that I can finish this project?