Getting the Twitter Consumer Key (API Key) and Consumer Secret key is very simple, just follow the below 4 steps and you are ready to go.
- Go to https://dev.twitter.com/apps/new and log in, if necessary
- Supply the necessary required fields, accept the Terms Of Service, and solve the CAPTCHA.
- Submit the form
- Go to the API Keys tab, there you will find your Consumer key and Consumer secret keys.
- Copy the consumer key (API key) and consumer secret from the screen into our application.