please go to the following URL: Twitter developer's account
You'll need Twitter account to get started. Open the above given URL and sign up with Twitter if in case you don't have a Twitter account.
Step 1
Login to your Twitter developer's account
Step 2
Open your application.
Step 3
Navigate to "Keys and Access Tokens" tab and copy your Consumer Key and Consumer Secret.