I wanna use twitch api v5, but error happened


#1

This is the twitch API v5 and it’s name is the “get User”, that is “Gets a user object based on the OAuth token provided”

this is the link about twitch api v5

curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-H 'Client-ID: uo6dggojyb8d6soh92zknwmi5ej1q2' \
-H 'Authorization: OAuth cfabdegwdoklmawdzdo98xt2fo512y' \
-X GET 'https://api.twitch.tv/kraken/user'

I don’t know

H ‘Authorization: OAuth cfabdegwdoklmawdzdo98xt2fo512y’

what is this?

So, I tried to use the postman by revoking user info

and

I don’t know why the error happened .

So how do I fix this postman file?


#2

This is a key/password/string that acts like a password and identifies the user by whom you are authenticating against the API as.

Authentication is documented here