Categories
Tutorial

How to get Twitter client id and secret key?

You should enter Twitter Consumer Key as the Client ID and Consumer Secret as the Client Secret.

To generate the consumer key and secret, just follow the below steps and you are ready to go.

  1. Go to https://developer.twitter.com/en/apps/create and log in, if necessary (you need to apply a Twitter developer account if you don’t have one).
  2. Supply the necessary required fields, accept the Terms Of Service, and solve the CAPTCHA.
  3. Submit the form
  4. Make sure under the Permissions tab the access permission is set to “Read and write” and you’ve checked the “Request email address from users”.
  5. Use https://your-domain.com/auth/twitter/callback as the callback URL.
  6. Go to the Keys and tokens tab, there you will find your Consumer key and Consumer secret keys.
  7. Copy the consumer key (API key) and consumer secret from the screen into the social login setting panel.