Skip to main content

X Integration

If you want to schedule posts on X, you'll need to create and configure an app for this platform. This guide will walk you through the setup process.

info

This guide covers the new Pay as you go X API platform. If you set up your app using the previous Free tier developer console, see the Legacy Setup guide.

1. Create a Developer account

To get started, you need an X Developer account. Go to the X Developer Portal and sign in with your X account.

  1. Click Sign Up and choose the Pay as you go plan.
  2. Accept the Developer Agreement and complete the payment setup.

2. Create an App

  1. In the Developer Portal, go to Apps from the left sidebar.
  2. Click Create App.
  3. Enter your app name.
  4. Select Production for the Environment.
  5. Select the use case that best fits your needs.
  6. Enter an app description.

3. App details (Optional)

note

This step is mandatory for users providing Software as a Service (SaaS) through Mixpost Enterprise. However, if you are using Mixpost internally, this step is not required.

  1. Select your app from the list.
  2. Click the pencil icon next to the app name.
  3. Upload the App logo.
  4. Enter App description.
  5. Click on Save button.

4. User authentication settings

  1. Select your app from the list.
  2. On the right side, go to the OAuth 2.0 Keys section and click Edit settings.
  3. In the App permissions section, select Read and write.
  4. In the Type of App section, choose Web App, Automated App or Bot.
  5. Enter the Callback URI/Redirect URL in the provided field:
https://example.com/<MIXPOST_CORE_PATH>/callback/twitter
warning

Replace <MIXPOST_CORE_PATH> with your specified MIXPOST_CORE_PATH. If you have not altered the MIXPOST_CORE_PATH environment variable, use the default value: mixpost.

Note: For the Lite package, use the value mixpost, if this integration is supported in Lite.

  1. In the Website URL field, enter your website URL.
  2. Click Save.

5. Copy the credentials to Mixpost

After configuring user authentication settings, you need to generate API Key and API Secret.

  1. On the selected app page, go to the OAuth 1.0 Keys section.
  2. Click Regenerate to generate new keys.

Copy these credentials, then navigate to your Mixpost dashboard and paste them into the X third-party service form. Make sure to select Pay as you go for the Tier and click Save.

Third-Party Service form's in the Mixpost dashboard

Navigate to the User Menu at the bottom left, click Admin Console, and then click on Services from the left sidebar.

6. Done

You can test your app by adding your X account to Mixpost and scheduling posts.

How to add a social account

Navigate to a workspace, then select Social Accounts from the left sidebar and click Add Account.