Setting up your own X app
FeedHive can post to X in two ways:
- Connect with FeedHive: plain posts and threads, up to 5 posts per X account in 24 hours (a thread counts once). Analytics and post conditions work too.
- Your own X app: everything above, plus links in posts, threads and follow-ups (FeedHive short links too), no daily limit, and X in the Social Inbox.

So you need your own X app to post links on X, to post more than 5 times a day, or to answer X replies in FeedHive. It takes about 10 minutes.
What it costs
X bills your X developer account for what your app does. FeedHive doesn't charge for it. The X API is pay-per-use: you buy credits in the X developer console, and every request uses some.
X's prices in December 2026:
| What FeedHive does on X | X's price |
|---|---|
| Publish a post (each part of a thread is one post) | $0.015 |
| Publish a post that contains a link | $0.20 |
| Read a post, for analytics, post conditions and the inbox | $0.005, charged at most once per post per day |
For example, 30 posts with a link in a month cost about $6, plus a little for reading their stats. X changes these prices from time to time; the current ones are on X's pricing page (opens in a new tab).
When your credits run out, X stops your app and posts on X fail until you add credits. Turn on auto-recharge or keep an eye on your balance.
Before you start
- You need to be the owner of the FeedHive workspace. Other members can't connect an X app.
- You need an X account to sign in to the X developer console. It can be the account you post from or another account you manage the app with.
- X asks for a payment card when you buy credits.
1. Create an app in the X developer console
- Go to console.x.com (opens in a new tab) and sign in with X. The first time, X asks you to accept its developer terms.
- Open Apps in the left menu and click Create app.

- Enter an App name, for example "New FeedHive App". Under API access, keep Pay Per Use ticked. Click Create.

2. Set up your app for FeedHive
- On your app's page, click Settings in the top right.

- Under App permissions, choose Read and write.
- Under Type of app, choose Web app, automated app or bot (Confidential client). Don't choose Native app: FeedHive signs in to X with a client secret, which only this type uses.

-
Under App info, fill in:
- Callback URI / redirect URL:
https://app.feedhive.com/api/social-connections/callback/x. FeedHive shows this URL with a Copy button when you add your app (step 4). It must match exactly. - Website URL: any website of yours, for example your company's.
The other fields are optional.
- Callback URI / redirect URL:
-
Click Save changes.

When you connect an account, FeedHive asks X for these permissions:
| Permission | What FeedHive uses it for |
|---|---|
tweet.read, users.read | Reading your profile and your posts' stats, and replies for the inbox |
tweet.write | Publishing posts and threads, and replying from the inbox |
media.write | Uploading images and videos |
like.write | Liking replies from the inbox |
offline.access | Staying connected without signing in again |
3. Copy the Client ID and Client Secret, and add credits
After you save, X shows your app's Client ID and Client Secret. Copy both now: X shows the Client Secret only this once.

If you closed it without copying, open your app's Keys & Tokens tab and regenerate the secret under OAuth 2.0 keys. The Consumer Key and Bearer Token on that tab are for something else and won't work in FeedHive.
Then open Credits under Billing in the left menu and buy credits. A small amount is enough to start.
4. Connect your X account in FeedHive
- Go to Social accounts, click Connect account and choose X / Twitter.
- Click Use your own X app.
- Fill in:
- App name: how the app appears in FeedHive. Using the same name as in X makes it easy to find. Only you see it.
- Client ID and Client secret: the ones you copied in step 3.
- Check that the Callback URL shown here is the one you added in step 2.
- Click Save and continue to X, sign in to X with the account you want to post from, and authorize your app.

The account now appears under Social accounts and posts through your own X app. FeedHive stores the client secret encrypted and never shows it again.
Switch an X account you already connected
If you connected X with FeedHive before, you don't need to remove it. Open the ⋯ menu on the X account under Social accounts, choose Re-authenticate account, then Use your own X app. The account keeps its posts, schedule and analytics.
From a post that failed
When a post with a link fails on X because the account doesn't use its own X app, the post shows Links on X need your own X app with a Set up your own X app button. The email about the failed post has the same button. It opens the steps above for that X account. Once the account is connected through your app, open the post again and click Retry.

Use the same app for more X accounts
FeedHive saves your X app, so you add it only once. It's available in every workspace you own. To connect another X account through it, click Use your own X app and choose the app, then sign in to X with the other account. Add a new X app adds another one.

All X accounts on one app share its credits.
Manage your X apps
Go to Settings → X apps. Only you can see your apps here.
- Rename changes the name FeedHive shows.
- Update keys saves a new Client ID or Client Secret, for example after you regenerate the secret in the X developer console. Accounts using the app stay connected.
- Delete removes the app from FeedHive. X accounts that use it need to be re-authenticated with another app or with FeedHive.

Troubleshooting
"X could not verify this app"

X didn't accept your app's details, and no account was added. Check in the X developer console:
- The Client ID and Client Secret are the OAuth 2.0 ones, copied without spaces.
- The Type of app is Web app, automated app or bot.
- The callback URL is exactly
https://app.feedhive.com/api/social-connections/callback/x.
If the keys were wrong, fix them under Settings → X apps → Update keys, then try again.
X shows an error instead of asking you to authorize
The callback URL in your app doesn't match FeedHive's. Copy it again from FeedHive and paste it into Callback URI / redirect URL in your app's Settings. A missing https:// or an extra / at the end is enough to break it.
Posts fail with a permission error
Your app doesn't have write access. In your app's Settings, set App permissions to Read and write, then open the ⋯ menu on the X account in FeedHive and choose Re-authenticate account, so X grants the new permission.
Posts stopped working after they worked before
- No credits left, or the spending limit is reached: add credits or raise the limit in the X developer console, then retry the failed posts.
- The app was deleted or its secret regenerated in X: if you regenerated the secret, paste the new one under Settings → X apps → Update keys. If you deleted the app, create a new one (steps 1 to 3), add it with Add a new X app, and re-authenticate the X account with it. Then delete the old app under Settings → X apps.