Twitter Aggregator (CMTA) - Options - Twitter API (Connecting The Plugin To Twitter)


Connecting The Plugin To Twitter

Back to User Guides

Note

About This tutorial covers interface and processes of a third-party service and they may change at any time. If you believe this guide is outdated, please contact us.

In order to connect the plugin to Twitter, you will need two things: the API Key, API Secret Key and Bearer Token. 

This guide shows you:


About API Keys

What Are API Keys

API Keys are a string of text, much like a password, provided by a service (in this case, Twitter).

They work as a bridge between your platform (the Twitter Aggregator plugin) and a third-party service (Twitter).

Twitter API Levels and Limitations

Twitter API has a few access levels. The plugin supports work with Twitter API v2 and demands the minimum level Elevated.

Below is an example of the dashboard, where you can monitor the API usage.

Restriction

The API Levels provide different restrictions and additional services, so you need to choose the one that is suitable for you. Learn more about Pricing - Twitter Developers.

Since the 9th February 2023 turned off the free tier of Twitter API. So, the following instruction for obtaining API keys might have some changes. For more accurate setting up the API Keys, follow the instructions on the Twitter site for developers.


Obtaining The Twitter Keys

To get the keys, you have to apply for a free developer account and make an app. First, you need to get the access to the first level - Essential, then upgrade it to Elevated.

Access Developer Platform and login with your Twitter account. Navigate to Products â†’ Twitter API.

Then, scroll down to the bottom of the page and click Get Started.

Apply for a developer account. Note that you will need to have a verified telephone number associated to your account. If you haven't done it yet, you will see the relevant message - click the button Add a valid phone number and follow the instructions.

Then get back to the page and scroll down. Fill the data in the needed fields and click Next.

Next - accept the Developer agreement & policy.

Then you need to verify your email. 

After an email verification you need to create your App. Give it a name and click Get keys.

The API Key and API Key Secret are created. You need to store them - they will be needed later in the plugin.

Now you need to upgrade your account to the Elevated access level. Head to the dashboard. In the Developer Portal dashboard navigate to Products â†’ Twitter API v2 â†’ Elevated, then click Apply for Elevated.

On the next step, fill the fields with basic info and click Next.

On the next page, you need to give detailed answers to the set of questions about how you are going to use Twitter API. When you finish, click the button Next

On the next page  Review you can check your data and answers. If everything is ok, click Next.

Last step - accept the Developer agreement & policy.

Then you need to wait when the request will be approved. You will receive an email when it's approved, or email that requests additional information.


Configuring The Plugin

Note: API options were renewed in plugin version 1.2.5.

Now we can add API to our plugin. Navigate to  Admin Dashboard → Twitter Aggregator Pro → Options â†’ Twitter API tab.

Twitter API

You should add here the following keys: 

  • Consumer Key (API Key)
  • Consumer Secret (API Key Secret)
  • Bearer Token

Please read the Twitter API limits section to take into account the rate of calls the plugin will be able to make to Twitter. Also adding multiple categories which have very short refresh rate might affect your server performance.

After saving the changes, you can click Test Twitter API to check if the keys are working correctly.

User timelines

  • Include retweets - Include retweets from timeline. 
  • Exclude replies - Exclude replies from timeline.

Hashtags

  • Language - Tweets will be filtered only to selected language. Leave empty to remove filter.

Restriction

The Language feature is not compatible with the Premium tier.


Get more information about the CM Twitter Aggregator Plugin

Find other WordPress products at the CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

Open a Support Ticket from our customer support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.