Twitter/X API Setup Guide

Step-by-step guide to connect your Twitter account for automated posting

⏱️ 6 min read
Beginner
📅 Updated: Oct. 20, 2025

To use Steadily's automated posting features, you'll need:

  • A Twitter/X developer account
  • A Twitter/X app with API access
  • Four API credentials (we'll help you find these)

Step 1: Apply for a Twitter/X Developer Account

1.1 Visit the Developer Portal

Go to X Developer Portal and click "Sign up for Free Account".

Twitter/X Developer Agreement

💡 Tip: If you aren't logged into your account it will take you to the main Twitter/X interface on login. Come back and click on the developer portal link again to start the process.

1.2 Developer Agreement

When asked for your use case description, copy and paste this text:

I am using Steadily, a social media management platform, to schedule and automatically post content to my Twitter account. The application will post tweets, upload media, and manage my posting schedule on my behalf according to my pre-configured settings. This helps me maintain a consistent social media presence by automating my content distribution while I focus on creating quality content. I am the sole owner of all content being posted, and all posts are pre-approved by me through the Steadily platform before being published to my Twitter account.


And then check all of the boxes and submit.

Twitter/X Developer Agreement

1.3 Set Default Project to Read/Write

You'll be taken to the Developer Portal Dashboard page. X will create a default project for you. Click on it in the left nav.

Twitter/X Developer Dashboard

In the User authentication settings section, click the "Set up" button.

Twitter/X Developer Authentication Settings

In the App Permissions section, select "Read and write". This will allow Steadily to post on your behalf.

Twitter/X Developer App Permissions

For Type of App select Web App, Automated App or Bot.

Twitter/X Developer Type of App

In App info enter https://reachsteadily.com for both Callback URI / Redirect URL and Website URL.

Twitter/X Developer App Info

Don't forget to save your changes.

1.4 Retrieve your API Keys

Now that your project is set to Read/Write, click on the Keys and Tokens tab at top of the page.

You're going to need to grab two sets of keys:

  • API Key and Secret
  • Access Token and Secret

Under Consumer Keys, click the Regenerate button. A modal will ask if are sure you want to regenerate, select "Yes, regenerate". A modal will open displaying your API Key and API Key Secret. Copy and paste them into the Steadily form (shown below), or temporarily copy them to a secure document you can retrieve them from later.

Twitter/X Retrieve Developer API Keys

Next, under Authentication Tokens find the Access Tokens and Secret section and click the Regenerate button. A modal will open displaying your Access Token and Access Token Secret. Again, copy and paste them into the Steadily form or temporarily into a secure document until you you're ready to add to the form.

Twitter/X Developer Retrieve Access Token


Step 2: Add API Keys to Steadily

2.1 Add your API Keys to Steaily

You can find the form in the "Add New Website" wizard or by navigating to Settings > Social Platforms and selecting Twitter/X.

Twitter/X Save API Keys

Enter your four API credentials:

  • API Key:
  • API Secret:
  • Access Token:
  • Access Token Secret:

2.2 Test & Save Connection

  • Click "Test Connection" to verify your credentials
  • You should see a success message
  • Click "Save" to complete the setup

Step 3: Configure Posting Settings

Choose "Auto" for fully automated posting

Twitter/X Save API Keys


Troubleshooting

Common Issues

"Invalid API credentials"

  • Double-check all four credentials are copied correctly
  • Make sure there are no extra spaces
  • Verify your app permissions are set to "Read and Write"

"App suspended" or "Access denied"

  • Your developer account may need additional verification
  • Check your email for messages from Twitter
  • Review Twitter's developer policy compliance

"Rate limit exceeded"

  • Twitter has posting limits (300 tweets per 3 hours for most accounts)
  • Steadily respects these limits automatically
  • Consider reducing your posting frequency if this persists

Need Help?

If you encounter issues:
1. Check that your developer account is fully approved
2. Verify all four API credentials are entered correctly
3. Ensure app permissions are set to "Read and Write"
4. Try regenerating your access tokens if connection fails


Security Best Practices

  • Never share your API keys with anyone
  • Don't post API keys in public forums, screenshots, or code
  • Regenerate tokens if you suspect they've been compromised
  • Use strong passwords for your Twitter/X and developer accounts

What Steadily Can Do

Once connected, Steadily can:

  • ✅ Post text tweets automatically
  • ✅ Post thread-style content (multiple connected tweets)
  • ✅ Schedule posts for optimal timing
  • ✅ Respect Twitter's rate limits

Steadily cannot and will not:

  • ❌ Access your DMs or private information
  • ❌ Follow/unfollow accounts on your behalf
  • ❌ Delete your existing tweets
  • ❌ Change your profile or settings

This guide was last updated for Twitter's API v2. If Twitter changes their developer portal, some steps may vary slightly.