Skip to main content

Connect X

How to connect your X (Twitter) account to your AgencyAnalytics dashboard.

Matthew Davis avatar
Written by Matthew Davis
Updated today

X (formerly Twitter)

With the X integration, you can keep tabs on key X metrics like total followers, following accounts, and how many posts are getting out there, alongside data from other key integrations.

API and Data Access

  • Fetches data every 24 hours

  • X API Free users can retrieve 100 posts per month

Before Connecting X

To connect X successfully, the X account owner must create and set up a separate developer account. For each X account you want data from, you will need a separate individual developer account to access data.

  1. Go to the X developers portal: https://developer.x.com

  2. Click the Sign In button in the upper right

  3. Click Sign Up at the bottom of the page

  4. Click Create Account, then fill in your new account details.

Once the account is created, navigate back to https://developer.x.com, then click Developer Portal in the upper right.

Next, you need to sign up for an API plan. You can choose a paid plan; however, we recommend and offer support for the Free plan. Scroll to the very bottom, then click Sign up for Free Account.

Enter a use case for X's data and API, then check the boxes below the text field before clicking Submit.

Next, click Projects & Apps in the left sidebar, then click the project ID, shown below the default project.

Scroll to the bottom of the page, then click Set Up in the User authentication settings.

Next, enter the following data for each field, then click Save at the bottom.

App Permissions

Check the "Read and Write and Direct Message" box

Type of App

Check the "Web App, Automated App, or Bot" box

Callback URLs

Website URL

Click the Project ID on the left sidebar again, then click Keys and tokens at the top of the page.

On the keys and tokens page, click Regenerate beside the API Key and Secret. Copy these new values to use when connecting to AgencyAnalytics.

Treat the API key and secret as login credentials and store them securely for future use. If they are lost, you'll have to regenerate them and re-verify the connection with new keys.

πŸ”Œ Connect X

To avoid a failed connection or error when connecting X to a Client, the person connecting must have:

  • An X developer account set up for the account you want to connect (this should be done by the X account owner, not the agency)

  • App Client ID (API Key)

  • App Client Secret (API Secret)

If you have the above information available, follow these steps to connect:

  1. Open the Client where you'd like to connect X.

  2. Click Integrations (plug icon) on the left side menu.

  3. Click Connect Integration in the upper right corner.

  4. Search for X in the search bar at the top, then click the X card.

  5. Enter the App Client ID (API key) and App Client Secret (API secret) and click the Authorize button.

Now connected, you can explore client metrics on the premade dashboard or add X integration widgets to your dashboards and reports!

πŸ’¬ Need additional help?

If you have any questions, please contact our friendly support team by following these instructions! We're available 24/5 to help πŸ˜„

Did this answer your question?