1. Home
  2. Docs
  3. Dokan Multi Vendor Documentation
  4. Dokan Settings
  5. Social Login/Registration API
  6. Configuring Twitter

Configuring Twitter

If you have configured Facebook apps successfully, it’ll not be hard for you to configure the others platforms (Twitter, Google, and Linkedin). Just follow the quick steps below.

How to get Consumer Key and Consumer Secret from the Twitter app?

You’ll need Consumer Key and Consumer Secret to configure the Twitter registration/login process. Click on the ‘Create an App’ link indicated on the image below.

It will take you to https://apps.twitter.com/ page after clicking on the ‘Create an App’ link. You’ll be asked to create an app here. Just click on the ‘Create New App’ button to go further.

After clicking on the ‘Create New App’ you’ll be taken to the Application Management page where you’ll need to fill the details of your app as shown the image below.

→ Name: Give an appropriate apps name. This is used to attribute the source of a tweet and in user-facing authorization screens. Word limit is to 32 characters maximum.

→ Description: This description will be shown in user-facing authorization screens. Word limit between 10 and 200 characters maximum.

→ Website: Your website URL

Callback URL: The URL where you want to take your visitors/users after successfully register or log in. Copy the link from your setting page that has been generated already.

Checkmark(√) the Twitter development agreement and finally click on the ‘Create your Twitter application’ button to complete the process.

You twitter app has been created. Click on the Keys and Access Tokens tab and get your Consumer Key and Secret from here. See the indicated fields on the image below.

→Insert the Consumer Key and Secret into the setting page as below.

All set! Now check the My Account page and click on the Twitter icon to register/login with your Twitter profile.

 Once if you click on the twitter icon as shown in the image above, it will take you on the twitter authentication page. Just ‘Authorize App’, and that’s it!

It will redirect immediately after authenticating the apps to the registration page. You are done!

Was this article helpful to you?

How can we help?