Twitter API Setup Helper
Configure your Twitter API credentials and test the connection
Twitter API Credentials
Enter your Twitter API credentials to test the connection
How to Get Twitter API Keys
Step-by-step guide to obtain your Twitter API credentials
1
Apply for Twitter Developer Account
Go to developer.twitter.com and apply for a developer account
2
Create a New App
In the Developer Portal, create a new app for your SocialAI integration
3
Configure App Settings
- • Set app permissions to "Read and Write"
- • Add callback URL:
https://yourdomain.com/api/auth/twitter
- • Enable "Request email from users"
4
Get Your API Keys
- • API Key: Found in "Keys and tokens" tab
- • API Secret: Found in "Keys and tokens" tab
- • Bearer Token: Generate in "Keys and tokens" tab
5
Apply for Elevated Access (if needed)
Some features may require Elevated access. Apply if prompted.
Important: Keep your API keys secure and never share them publicly. Add them to your .env.local file and restart your development server.