Skip to content

Conversation

@NAMERIO
Copy link

@NAMERIO NAMERIO commented Sep 16, 2025

  • Updated ApiServer to fetch and cache twitch streamer data via Helix API
  • Twitch OAuth tokens expire every 60 days and must be refreshed, but we can probably make it refresh itself automatically in the future
  • also added Youtube rotation support so multiple youtubers can display

@DamienVesper DamienVesper added the feature New feature or request label Sep 17, 2025
@DamienVesper
Copy link
Contributor

closing as stale

@lmssiehdev lmssiehdev reopened this Oct 26, 2025
@lmssiehdev
Copy link
Collaborator

did some clean up, a few things to note:
currently we display streamers who are live regardless of whether they are currently streaming survev or not
i kept it that way since twitch requires 2FA to create an API token

If that's the desired behavior, @NAMERIO can look into it

@lmssiehdev lmssiehdev requested a review from leia-uwu November 14, 2025 23:51
if (!Config.secrets.TWITCH_CLIENT_ID || !Config.secrets.TWITCH_OAUTH) {
return [];
}
const streamers = Config.featured.streamers.slice(0, 3);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will probably want to shuffle this instead of getting the first three streamers, but let's worry about that after we get 3 people to stream survev first :clueless:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants