Trying to get my Broadcast ID


I am trying to run python script via webhooks to pick up when people in my chat send bits or subscriptions either, straight subs or gifted subs.

I am trying to get my broadcaster id and I keep getting the error in the attached image.

Now to explain the steps I have taken I have created a twitch bot account and using that account I registered an chat bot app in the Twitch Developer Console - From this I have obtained my Client Id

In conjunction to this I have use Twitch Token Generator with selected scopes for my requirements and from that I have got my OAuth (Access Token)

I have entered this into my curl script and getting the error. I am a noob and really have no idea what I am doing wrong or how else I can get my broadcaster ID
Can anyone please help

Sounds like you use someone elses token generator with their client ID instead of using your ClientID hence the error

Try the CLI isntead Twitch CLI | Twitch Developers
Or this quick tool to get your ID: Twitch Implicit Auth Example

The Twitch Implicit tool gave me the information I needed thanks so much for your help.

In relation to your comment about someone elses client ID, I was logged in to my bot account which my plan was to use it, to essentially watch the chat on my main streaming channel for bits cheered >1500 and gifted subs 5 or more.
The python script I was running only required me to enter the OAuth token and the Username (Of my main account)>

As I mentioned I am new to all of this and learning as I go along, its a lot of fun though

You likely used the ClientID of the Generator you used to login as your bot.

It was still the ClientID of the Generator
The owner of the ClientID is irrelevant so you can own your ClientID and have your Bot login to it.

Here with my example you have use my ClientID to generate a token which then returned your User Object from Get Users, using my ClientID and the generated token

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