Prerequisites
- Twitter/X account
- Twitter Developer account and API access
- Elevated API access (for DMs)
Setup
Create Twitter App
- Go to Twitter Developer Portal
- Create a new Project and App
- Set app permissions to Read, Write, and Direct Messages
- Enable OAuth 1.0a
Get API credentials
From your Twitter App settings, copy:
- API Key (Consumer Key)
- API Secret (Consumer Secret)
- Access Token
- Access Token Secret
Enter credentials
Paste your Twitter API credentials:
- Consumer Key
- Consumer Secret
- Access Token
- Access Token Secret
Features
Direct Messages
- Receive and send Twitter DMs
- Support for media attachments
- Real-time message sync
- Thread preservation
Mentions Tracking
- Monitor when users mention your Twitter handle
- Respond to mentions as conversations
- Track brand mentions
Configuration Options
Your Twitter profile ID
OAuth access token from Twitter Developer Portal
OAuth access token secret
API Endpoints
Retrieve Tweets
Send Tweet
Best Practices
Respond to DMs within 24 hours
Use mentions tracking for brand monitoring
Set up automation for common DM inquiries
Monitor API rate limits
Keep Twitter credentials secure
Troubleshooting
Cannot connect Twitter account
Cannot connect Twitter account
- Verify API credentials are correct
- Check app permissions include Direct Messages
- Ensure OAuth 1.0a is enabled
- Confirm API access level is Elevated or higher
DMs not syncing
DMs not syncing
- Check Twitter API rate limits
- Verify webhook is registered correctly
- Ensure app has Direct Messages permission
- Check Chatwoot logs for API errors
Mentions not appearing
Mentions not appearing
- Verify mentions tracking is enabled in inbox settings
- Check if your account is mentioned with @ handle
- Ensure API access includes tweet reading permissions
- Twitter’s API may have delays (up to 15 minutes)
Rate limit errors
Rate limit errors
- Twitter API has rate limits per 15-minute window
- Reduce polling frequency in Chatwoot settings
- Upgrade Twitter API access tier if needed
- Monitor usage in Twitter Developer Dashboard
Limitations
- Twitter API rate limits apply
- Elevated API access required for DMs
- Mention tracking may have delays
- Media file size limitations
- Cannot send tweets directly (only DMs and replies)

