Stuck on Twitch API - I have registered app, client ID, seemingly simple problem

Hi all,

I went the registered app route because the wind-bow API would not give me JSON, just a CORS error.

I get the same thing with this code using the updated suffix. I have my client ID hard-coded (somewhat). Do I need to do anything with the URI (that’s URI not URL). I have gone through the Twitch Authentication docs for about 2 hours and am a bit confused.

I am at the very beginning where I just want to spit out the JSON to the console before I move on to actually building the app. I read-search-asked I promise.

var clientID = '0pv3vm5xp7pquz06o0f6e4pm8qgmx2'
var settings = {
  "async": true,
  "crossDomain": true,
  "url": "" + clientID,
  "method": "GET",

$.ajax(settings).done(function (data) {

Is there anything else that needs to be configured to not get that blasted CORS error?

Just curious, but did you use in your URL? You should use instead. Those instructions were written when was still, and they haven’t been updated since.

I’m not sure about the Twitch API though. It looks like it has changed a lot since the last time I used it.