Step 1: Create Twitch Application
- Go to Twitch Developer Console
- Log in with your Twitch account
- Click "Applications" → "Register Your Application"
Step 2: Configure Application
- Name: Your bot name (e.g., "Discord Notification Bot")
- OAuth Redirect URL:
http://localhost:5000/oauth/twitch/callback
(or use production URL) - Category: Select "Website Integration"
Step 3: Get Credentials
- After creation, find:
- Client ID (visible immediately)
- Client Secret (click "New Secret" to generate)
Step 4: Environment Variables Setup
Add these variables to your .env
file:
```env
Twitch
TWITCH_CLIENT_ID=your_twitch_client_id_here TWITCH_CLIENT_SECRET=your_twitch_client_secret_here
YouTube
YOUTUBE_CLIENT_ID=your_youtube_client_id_here YOUTUBE_CLIENT_SECRET=your_youtube_client_secret_here