X (Twitter)

Connecting a developer account

Due to API restrictions from X, you will need to create and connect an X developer account to start the connection process. You can create a new account or access your existing X developer account herearrow-up-right.

Next, access the project and navigate to Keys and tokens (example shown below):

Twitter developer portal showing project dashboard with Keys and tokens section highlighted

When you click on the Keys and tokens button for your project, you should land in a page that looks like the following. Regenerate and save the API key, API secret, and OAuth client ID and secret as you will need to enter these into Relay.app:

Twitter developer project Keys and tokens page showing API key, API secret, and OAuth client credentials that need to be saved for Relay.app connection

Next, navigate to the Settings tab, and from there, click to edit the User authentication set up settings:

Twitter developer project settings tab with User authentication setup option to configure OAuth permissions

Lastly, in this page, enable "Read and write" permissions, choose "Web App" as the type of app, and enter https://run.relay.app/connect/callback/twitterarrow-up-right as the callback URL

Twitter OAuth authentication setup page showing read and write permissions configuration and callback URL field for Relay.app integration

Lastly, in Relay.app, enter the API keys and OAuth client secret into the step connection dialog to complete the connection.

I am trying to connect X but don't see my API Key and API Secret in the X developer platform.

To connect X to Relay.app, you'll need an API Key, API Secret, OAuth Client ID, and OAuth Client Secret, as described above.

The API Key and API Secret are only shown when you create the app for the first time in console.x.com under Apps > Create App.

The OAuth Client ID and OAuth Client Secret will then be available once you click into the app.

Action rate limits

X rate-limits actions aggressively through their API. Relay.app is not able to circumvent those rate-limits. For convenience, these are the published limits for the actions we provide. If you encounter an error posting on X, then you may need to either stagger your requests to occur less frequently, or upgrade to a higher tier of paid X developer accountarrow-up-right. (Note that a developer account is distinct from X Premium or other paid X offerings.)

Action
Twitter Free Tier Limit
Twitter Basic Tier Limit
Twitter Pro Tier Limit

Post tweet, reply to tweet, quote tweet

17 posts / day

100 posts / day

100 posts / 15 minutes

Retweet

1 post / 15 minutes

5 posts / 15 minutes

50 posts / 15 minutes

Follow user

1 follow / 15 minutes

5 follows / 15 minutes

50 follows / 15 minutes

Last updated

Was this helpful?