Embedding Twitch streams on a self-hosted video site: parent param and live status

Hi all, I’m adding Twitch embeds to a PHP video sharing site so creators can show their live stream on their channel page. I understand the embed needs the parent parameter matching our domain. For showing a ‘LIVE’ badge, is polling Get Streams with an app access token every minute reasonable, or should I use EventSub stream.online / stream.offline webhooks instead? Any rate-limit advice for a few thousand linked channels? Thanks!

Depends on what else you show on top of live status. Like do you show a streams currect view count?

If so then both API and EventSub

Since it’s “linked” chanels I assume you are getting permission/oAuth from those channesl. So I would use eventsub for stream online/offline and channel update, and mix in API calls for current view count if I want to show that.

If you are not oAuthing users of the site to display them, then I would use the API as you can lookup 100 streamers in one call to get streams.

So that would fit well inside the rate limits.