Acces TwitchData

I have started building my own stream in streamlabs obs.
I want to create my one follower goals, but i have no idea how to acces my own data, like follower in javascript.
I havent found any source explain it.
Thank you for any help and sorry for my bad english.

Documentation is here

Follows is covered as

an API endpoint

or as a webhook

The former can work in front end code, the latter requires a web accessable endpoint on your own systems, server/cloud

Thank you for your fast reply.

i have tried to enter the following command in the Console, i have senn the command here, but i get an error (i changed the example ID)

curl -H ‘Client-ID: p0gch4mp101fy451do9uod1s1x9i4a’
-X GET ‘

Helix requires an oAuth token and some of the documentation has not been updated yet

Hi its me again with stupid question vol.3,

I read in twitch docs and online about the OAuth and i get that it is some sort of acces permission, that I need, like a password, of every user I want to get infomation about, but how do I get the this ‘Authorization: Bearer cfabdegwdoklmawdzdo98xt2fo512y’ (in your last advice) of my own account.
And do i have to influence it into my code or on my device (in my case my local host computer) or both.

Thank you for your help so far. Your advices help me alot.

User oAuth is documented there.

Step 1) Redirect to twitch
Step 2) Accept applications access to your account
Step 3) user is sent back to your website
Step 4) Exchange the code for a token

You could use implicit auth, but such tokens are not refreshable automatically

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.