X (Twitter)
Connect your X account and publish tweets from Levercast.
Setup
- Create an app at console.x.com
- Enable OAuth 2.0 with PKCE
- Set the callback URL:
- Production:
https://your-domain/api/auth/x/callback - Local:
http://localhost:3847/api/auth/x/callback
- Production:
- In your Levercast
.env.local, set:X_CLIENT_IDX_CLIENT_SECRETX_REDIRECT_URI(optional for local dev — derived from the request host automatically)
- Navigate to Settings → Connections and click Connect X
What Gets Published
Levercast creates a tweet on your X profile. The AI enforces the 280-character limit during reformatting. If you attach an image, it's uploaded as media and attached to the tweet.
Image Support
Images are uploaded to X's media endpoint before the tweet is created. Supported formats include JPEG, PNG, and GIF. Provide an image URL in the post editor and Levercast handles the upload.
Default AI Tone
Concise and punchy. Maximum 280 characters. One or two short sentences. Can use 1–2 relevant hashtags at the end.
Override this per-account with custom templates.