Thanks for answering but I’m stuck again
So… Basically I need to just modify this thing ? And now if I paste
const url = "https://api.twitch.tv/helix/search/channels?query=a_seagull";
const options = {
headers: {
'client-id': TWITCH_CLIENT_ID,
'Authorization': 'Bearer ' + accessToken
}
};
fetch(url, options)
.then( res => res.json() )
.then( data => console.log(data) );
this code right after github’s one it says “accessToken is not defined”…
I guess I’m just not smart enough 