Create new twitter application
To create new twitter application, follow this steps below.
Note: Make sure that you have already a actived twitter account.
Step 1: Go to https://apps.twitter.com/
Step 2: Click Create new App
Step 3: Enter apps details, click Create your Twitter application
Step 4: After creating success, click apps detail, click tab Keys and Access Tokens note 2 values Consumer Key (API Key) and Consumer Secret (API Secret)
Read next tutorials to start with twitter login