To collect the Consumer Key (API Key), Consumer Secret (API Secret Key), Access Token, and Access Token Secret you need to create a Twitter App. Let’s follow the steps given below –
Step 1 #
Visit https://developer.twitter.com/en/apps and click on the Create an app button.

Click on the Apply button.
Step 2 #
To get access to the Twitter API, select any option for using Twitter developer tools.


Click on the Next button to configure how to use the Twitter API or Twitter data.
Step 3 #
Here, explain why you intend to use Twitter API or Twitter data.
Now click on the Next button to review the credentials.
Click on the Submit Application button to continue.
This is how easy and simple it is to configure the Twitter App.
Also, check out – Twitter Configuration