Custom API Key
Because of Twitter API changes in April 2023, Custom API Keys are now required to use the Twitter Sales Bot
Last updated
Because of Twitter API changes in April 2023, Custom API Keys are now required to use the Twitter Sales Bot
Last updated
This guide will go over how to sign up and configure a custom Twitter API key for your bot.
You can use any Twitter account to get an API key, it does not need to be your sales bot's Twitter account.
Twitter's new API plans limit you to 1,500 tweets per month (Free plan) or 100 tweets per day ($100 Basic plan). If you need more tweets, the enterprise option costs over $20K/month.
Sign up as a Twitter Developer (if not already registered): https://developer.twitter.com/en/portal/dashboard
Create a project and create an app under the project and note the API Key, API Key Secret, and Bearer Token. Make sure the app is under a project and not a standalone app. The bot will not work for standalone apps. Store these safely! You'll need them in a later step.
On your Developer Dashboard, click the ⚙️icon of your newly created app. Click Setup under "User authentication settings"
Ensure the following setting are set:
App permissions: Read and write
Type of App: Web App, Automated App, or Bot
Callback URI / Redirect URL: https://2.5.dev/app/bots/dashboard/twitter/connect
Website URL: https://2.5.dev
IMPORTANT Please ensure these settings are set exactly as above or your bot will not function.
Save the settings to continue.
Return to the Twitter bot dashboard or the 2.5 Custom API Keys Dashboard. Enter the API Key, API Key Secret, and Bearer Token from step 3.
If your keys are configured correctly, you'll be redirected to connect your Twitter to the new app. Once connected, you're sales bot is now running running on its custom key! IMPORTANT Connect the Twitter account that you wish for sales tweets to appear on.
By default, you will be enrolled in the Free Plan, which allows the bot to post up to 1500 tweets per month. If you anticipate your bot will post more than 1500 tweets monthly, we recommend upgrading to the Basic Plan. This plan permits the bot to post up to 100 tweets per day. To upgrade, please navigate to Twitter API v2 under Products and click on the Basic tab to select the upgrade option.