How Do I Connect X (Twitter) Using My App?

After Twitter's API changes in 2023, you might opt to connect your X (Twitter) account using your own X (Twitter) App. In order to do this, you must have an app that you have fully set up, as per X (Twitter) requirements.

For each X (Twitter) profile you want to connect, will have to create a new app, while connected into that X (Twitter) Profile.

How Do I Create My Own App?

To create your own X (Twitter) app, you must have an active X (Twitter) account (in the last 30 days) with a verified phone number. Once you did this, you can head to their Developer Platform. Scroll all the way to the bottom, and click "Sign up for Free Account".

You will be asked to describe why you want to use their API. You can paste the following text:

👉 Managing social media accounts can be time-consuming, especially when you're trying to maintain an active and engaging online presence across multiple platforms. That's where my app comes in. By integrating with various social media platforms, my app offers a one-stop-shop for managing your social media accounts, allowing you to create, categorize, and schedule your Tweets in advance. With this tool, you can optimize your online presence and strategy without having to spend hours manually posting updates. By streamlining your social media management, you can focus on other aspects of your business or personal life, while still maintaining a strong and consistent online presence.

After this, agree to all terms and conditions and click "Submit".

X (Twitter) will, automatically, create a project and an app for you. They will have a default name, like so:

If you have ever followed these steps before, you can just go to your Projects and Apps here. The next step is clicking on the Gear icon, to customize your app.

In the App Settings screen, find "User authentication settings" and click "Set up":

Here, you must ensure you fill in the following information exactly:

  • For App Permissions select "Read and write" or "Read and write and Direct messages"
  • For Type of App, select "Web App, Automated App or Bot"

Once all this information is filled in, scroll to the bottom and click "Save".

You will be asked to confirm the changed permissions. Here, click "Yes" and you will be redirected to the App details screen.

You will now see your Client ID and Client Secret. Copy these codes and save them in a note or document that you can find later. When you click done, you will be given the same set of instructions from X (Twitter). Click "Yes, I saved it" to continue:

No worries if you didn't save these IDs and Secrets, as they can be regenerated from the "Keys and tokens" tab.

In the App Details, switch to the "Keys and tokens" tab. Find the Consumer Keys and click "Regenerate".

To get your new Keys, click "Yes, regenerate". Like before, you will be asked to copy 2 different chains of letters and numbers. We recommend saving all of these keys in a separate document, as you will use them later, in SocialBee. Once you have them, click "Yes, I saved them" to close the popup.


Next, go to Authentication Tokens, to get your Access Token and Secret.

You will be asked to copy 2 different chains of letters and numbers. We recommend saving all of these keys in the same document, as you will use them later, in SocialBee. Once you have them, click "Yes, I saved them" to close the popup.

After saving all of these 4 keys, you can close X (Twitter). Your app has been successfully created.

How Do I Connect with My Own App?

Once you created it, head over to your SocialBee dashboard and scroll to the bottom. You should see a button called "Connect your app".

Once you clicked on it, a new modal will open, asking for a few details. You can find them in the X (Twitter) Developer Platform, under "Projects & Apps", in the Keys & Tokens section for the respective app. 

If you followed the previous steps, you should also have them saved in a separate document as we mentioned above.

After generating these, you can paste them into their respective fields and click "Connect".

If everything is correct, your page will reload and the X (Twitter) profile will appear as connected in your list of profiles.

How Do I Create My Own App, from scratch?

If you already have an app you use for something else or simply want a new one, you can start from scratch by going to your Projects and Apps menu. Here, click "+ Add App":

Then, add your app's name and click "Next":

You will now see your Client ID and Client Secret. Copy these codes and save them in a note or document that you can find later. When you click done, click "App Settings" to continue:

In the App Settings screen, find "User authentication settings" and click "Set up":

Here, you must ensure you fill in the following information exactly:

  • For App Permissions select "Read and write" or "Read and write and Direct messages"
  • For Type of App, select "Web App, Automated App or Bot"

  • For App Info, two fields are mandatory:

Once all this information is filled in, scroll to the bottom and click "Save".

You will be asked to confirm the changed permissions. Here, click "Yes" and you will be redirected to the App details screen.

You will now see your Client ID and Client Secret. Copy these codes and save them in a note or document that you can find later. When you click done, you will be given the same set of instructions from X (Twitter). Click "Yes, I saved it" to continue:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us