Hello!
I tried to use the Twitch API with Javascript. I tried this:
const header = {
headers: {
'Client-ID': client_id
}
}
fetch("https://api.twitch.tv/helix/users?login=revedtv", header).then(response => console.log(response))
but I only get this error

Can someone please help me?
PS: Sorry for my bad English.
All of Helix requires an oAuth token, you didn’t specify one
Authentication is documented here
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.