- Go to https://apps.twitter.com/ and click on "Create New App".

- Fill out any required fields such as the application name, description, website and accept the terms.

- Click on "Create Your App".

- Click on the second tab "Settings"

- Add "Callback URL" like this http://yourdomain.com/social-auth/callback/twitter/ and make sure to replace "yourdomain.com" with your actual domain.

- Add your "Privacy Policy URL" and "Terms of Service URL"

- Scroll down and click on "Update Settings" button

- Click on the last tab "Permissions"

- Select "Read Only" for "Access" then scroll down under "Additional Permissions" and select  "Request email addresses from users"

- Scroll down and click on "Update Settings" button

- Click on the last tab "Keys and Access Tokens"

- From there you can get your "Consumer Key (API Key)" and "Consumer Secret (API Secret)"

- That's it.