Messin' around with Twitch APIs and Next.js "Incremental Static Regeneration".
Shows whether the current user is "LIVE"
Set the following .env
variables in .env.local
.
TWITCH_USERNAME=<The Twitch Username>
TWITCH_BROADCASTER_ID=<The Twitch Broadcaster ID>
TWITCH_CLIENT_SECRET=<Your Twitch Client Secret>
TWITCH_CLIENT_ID=<Your Twitch Client ID>
ʕ •ᴥ•ʔ