• Applicable Software: MokonyxSocial
  • Min Version Number: 01.03.00 and later
  • Max Version Number: Not Applicable

MokonyxSocial posts your Joomla content as tweets on X (formerly Twitter) using the X API v2. Heads up: standard posts max out at 280 characters, so anything longer gets trimmed.

What you need

  • An X account to post from.
  • Access to the X Developer Portal with a Project and App (posting needs a paid API tier — the free tier barely allows writes).
  • A bearer_token from your App with write permission.

Get your credentials

Bearer token bearer_token (required)

This is the token the X API v2 uses to authenticate your posts. To get it:

  1. Sign in at https://developer.x.com/ (formerly developer.twitter.com) and open the Developer Dashboard.
  2. Create or open a Project, then create an App inside it. Note: X requires a paid plan (Basic or higher) to post via the API — the Free tier can't really post.
  3. In the App's Settings → User authentication settings, set permissions to Read and write.
  4. Open the App's Keys and tokens tab, find Bearer Token, and click Generate.
  5. Copy the token.

> Tip: X API v2 posting usually needs an OAuth 2.0 user-context token with the tweet.write scope rather than the app-only bearer. If posting fails with the plain bearer token, generate a user-context access token and paste that instead.

Set it up in MokonyxSocial

  1. In Joomla admin, go to Components → MokonyxSocial → Services → New.
  2. Choose X (Twitter).
  3. Enter the credentials above.
  4. Click Send Test to verify, then Save & Close and make sure it's Published.

Verify

When Send Test passes, open your X profile and confirm the test tweet posted. Then publish a Joomla article and watch for the tweet.

Troubleshooting

  • 401 Unauthorized: your bearer token is wrong or revoked — regenerate it under Keys and tokens.
  • 403 Forbidden: the App can't write or your plan doesn't allow posting — switch to Read and write and confirm you're on a paid tier.
  • 429 Too Many Requests: you hit your plan's post cap — wait for the reset or upgrade.
  • Tweet cut off: you went past 280 characters — shorten the text.

Notes & limits

  • 280 characters per post on standard accounts.
  • Posting requires a paid X API tier (Basic+); the Free tier's write limits are tiny.
  • Writes often need OAuth 2.0 user-context with tweet.write, not just an app-only bearer.