All networks

Connect X (Twitter)

Publish text and media to X with a refresh-token OAuth 2.0 connection, so scheduled posts keep working without reconnecting.

Setup, step by step

  1. 1

    Create a project and app in the X Developer Portal and set its permissions to Read and write.

  2. 2

    Enable OAuth 2.0 (user authentication) and add the callback URL below as an allowed redirect URI. It must match exactly.

  3. 3

    Copy the Client ID and Client Secret into Settings > Social App Credentials > Twitter.

  4. 4

    Go to My Account > Social Accounts and click Connect on the Twitter card.

  5. 5

    Approve the X authorization, then compose and schedule tweets from Posts > Create New Post.

Connection details

Register the app
X Developer Portal →
Callback URL
https://app.laravelsocial.com/admin/account/social-account/callback/twitter

Paste this exactly into the app's redirect URI settings.

Credentials go in
Settings > Social App Credentials > X (Twitter) (key: twitter)
Permissions requested
tweet.readtweet.writeusers.readoffline.accessmedia.write

Good to know

  • The app requests offline.access, which returns a refresh token so the connection survives token expiry.

  • Posting volume is subject to your X API plan's rate limits.

Ready when you are

Connect X (Twitter) from the Social Accounts page, then post from the composer.

Open Social Accounts

Our network