First, you'll need to register your app on Twitter. Follow these steps:
-
Visit https://dev.twitter.com/apps/new
-
Set Website to: {{siteUrl}}
-
Set Callback URL to: {{siteUrl}}_oauth/twitter
-
Select "Create your Twitter application".
-
On the Settings tab, enable "Allow this application to be used to Sign in with Twitter" and click
"Update settings".
-
Switch to the "Keys and Access Tokens" tab.