Setting Up Your Own Spotify Application
Follow these steps to create a Spotify app and get your Client ID and Client Secret for use with BotOfTheSpecter.
Step 1: Create a Spotify Developer Account
- Go to the Spotify Developer Dashboard.
- Log in with your Spotify account (or create one if you don't have it).
- Accept the terms and conditions.
Step 2: Create a New Application
- Click on "Create an App" or "My Apps" > "Create an App".
- Fill in the application details:
- App name: Specter-[Your Username] (e.g., Specter-JohnDoe)
- App description: Twitch bot integration for Spotify
- Redirect URI:
https://dashboard.botofthespecter.com/spotifylink.php
- Check the boxes for the required APIs (Web API).
- Click "Create" or "Save".
Step 3: Get Your Credentials
- In your app dashboard, go to the "Settings" or main app page.
- Copy the Client ID (a 32-character string).
- Click "Show Client Secret" to reveal and copy the Client Secret (another string).
Important: Keep your Client Secret secure and never share it publicly.
Security Note: Your credentials are stored securely in our encrypted database and are only used for your bot's Spotify integration.
Step 4: Configure in BotOfTheSpecter Dashboard
- Go back to your Spotify Link page.
- Check the "Enable Own Client" box.
- Enter your Client ID and Client Secret in the fields that appear.
- Click "Save Credentials".
- Click the "Link Spotify Account" button to authorize with your new app.
Troubleshooting
- Redirect URI mismatch: Ensure the Redirect URI in your Spotify app matches exactly:
https://dashboard.botofthespecter.com/spotifylink.php - Permissions: Make sure your app has the necessary scopes enabled (user-read-playback-state, user-modify-playback-state, user-read-currently-playing).
- Rate limits: Spotify has rate limits; if you exceed them, wait before trying again.
Note: Using your own Spotify app gives you more control and potentially higher rate limits, but requires you to manage the app yourself.