Skip to main content

How to configure Twitter API

Twitter requires that you create an external application linking your website to their API. Application id and secret (also sometimes referred as Consumer key and secret or Client id and secret) are what we call an application credentials. This application will link your website example.com to Twitter API and these credentials are needed in order for Twitter users to access your website.

These credentials may also differ in format, name and content depending on the social network.

To enable authentication with this provider and to register a new Twitter API Application, follow the steps:

Step 1:

First go to: https://developer.twitter.com/en/portal/projects-and-apps

Step 2:

Then access Twitter's pre-built app

Step 3:

To give the application full permissions, go to the Settings tab > User Authentication Settings > click Setup > choose Read and write and Direct message.

Step 4:

To obtain the key, go back to the previous page, select the Keys and Token tab > click Generate in the sections labeled API Key and Secret, Bearer Token, Access Token, and Secret.

Step 5:

In Backend Config Magento Admin > Configuration > Blog Pro > Social Platform > Twitter, copy and paste the keys acquired in Step 4.

Specifically, Account ID data can be acquired via the Twitter Developer's Setting > APP ID area.

And that's it!

If for some reason you still can't manage to create an application for Twitter, you can ask for support.