X (Twitter)
Connect your X (formerly Twitter) account to Soku to post tweets with text, images, and videos directly from your dashboard. Soku uses OAuth 2.0 with PKCE for authentication and authorization. For media uploads, Soku also uses OAuth 1.0a as required by the X API.Prerequisites
Before connecting X to Soku, make sure you have the following:- An X (Twitter) account
- The ability to log in to X via a web browser
Both free and premium X accounts can be connected to Soku. No special account type is required.
Connecting X (Twitter)
- Log in to your Soku dashboard at mysoku.io.
- Go to Settings > Integrations.
- Find X (Twitter) in the list of platforms and click Connect.
- You will be redirected to X’s authorization page. Log in to your X account if prompted.
- Review the permissions Soku is requesting and click Authorize app.
- You will be redirected back to Soku. Your X account will now appear under your connected integrations.
What You Can Publish
| Content Type | Supported |
|---|---|
| Text tweet | Yes |
| Image tweet (up to 4 images) | Yes |
| Video tweet | Yes |
| Thread | No (single tweet only) |
Connection Details
- Auth method: OAuth 2.0 with PKCE (OAuth 1.0a for media uploads)
- Token type: Access token with refresh token (automatically refreshed by Soku)
- Data stored at:
users/{uid}/integrations/x - Automation: Toggle
enabled_for_repostin your integration settings to allow automated reposting to this account
Soku automatically refreshes your X tokens before they expire. Background sweeps run periodically to ensure your connection stays active.
Troubleshooting
”Authorization failed” or redirect error
Make sure you are logged in to the correct X account before authorizing Soku. If you are logged in to multiple X accounts in your browser, X may use the wrong one. Log out of all X accounts first, then try connecting again.Tweets fail to post
Check the following:- Your X account is not locked, suspended, or restricted.
- The tweet content does not exceed X’s character limit (currently 280 characters for free accounts, 25,000 for Premium+ subscribers).
- If including media, the file meets X’s media requirements. See Media Formats & Limits.