Custom API Key
Use a custom API key to unlock higher tweet volumes
If your NFT collections have a high number of sales, it's important to create and use your own API key so you don't get rate limited by Twitter.
This guide will go over how to sign up and configure a custom Twitter API key for your bot.
You can use any Twitter acount to get an API key, it does not need to be your sales bot's Twitter account.
- 1.Sign up as a Twitter Developer (if not already registered): https://developer.twitter.com/en/portal/dashboard
- 2.Create your app and note the API Key, API Key Secret, and Bearer Token. Store these safely! You'll need them in a later step.
- 3.On your Developer Dashboard, click the ⚙️icon of your newly created app. Click Setup under "User authentication settings"
- 4.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. - 5.Return to the 2.5 Custom API Keys Dashboard. Enter the API Key, API Key Secret, and Bearer Token from step 3.
- 6.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.