How to get bits information in real-time?

I want know that information of bits when cheer up using bits.

I want information like below.------------------------------
Who is cheer to streamer?
How much of using bits for cheer?

If you know API or how to get bits information.
Please share me.

Right now you have 2 options, you can either connect to chat and get them that way, or subscribe to the pubsub topic

There’s also a cheering webhook in development but no info on when that will be available.

Thank you for your answer!

I try how to guide in ‘’ using twitchps(

I need token for channel-bits-events-v1 topic.
But, I don’t know how to get token.

Can I get the token using code like below?
—OAuth Authorization Code Flow—

You need to follow the Authentication docs

There are several methods to obtain a token, which one you use is up to you and depends on your use case. Also keep in mind that you need a token of the channel you wish to receive events from. So if it’s your channel you can go through the auth process yourself, if it’s for a channel belonging to someone else then they will need to go through your authentication process.

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