Connect & publish
X: connect your own developer app
Four keys from console.x.com. X bills your developer account per post; distro adds no fee.
5 minUpdated 2026-10-26
What you get: posts and threads to the X account that owns the developer app. X bills your developer account per post — about $0.015 per post and $0.20 for a post with a link (see X API pricing). distro adds nothing. Limit: 100 posts per 15 minutes.
Steps
- Sign in at console.x.com with the X account you want to post from. Create a Project and an App.
- Billing: buy credits and set a spending cap so a mistake can't run up costs.
- App → User authentication settings → Set up: App permissions Read and write (set this before step 4); Type of App Web App, Automated App or Bot; Callback URI
https://distro.digital/api/oauth/callback/twitter; Website URL — your product's site. Save. - App → Keys and tokens: regenerate and copy the API Key and Secret, then generate and copy the Access Token and Secret (they don't expire). If you generated them before switching to Read and write, regenerate them.
- In distro: Connections → Publish to → X → Use your own app, paste all four values, and click Save & test. distro reads your account once (a billed read of about $0.01) and shows your @handle.
Common errors
- "Your X app isn't allowed to post" — the tokens were made while the app was read-only. Set Read and write, regenerate the Access Token and Secret, reconnect.
- 401 / rejected credentials — a key was regenerated after you pasted it. Paste the current set.
- Out of credits — top up or raise the spending cap in the console.
- Duplicate — X rejects identical text posted twice. Edit the post.
- Rate limit — over 100 posts in 15 minutes; distro waits for the reset and retries.
Revoke
Console → Keys and tokens → revoke or regenerate the Access Token, and disconnect the account in distro.