Social Login: Twitter App Setup

Overview

This document provides instructions on how to properly setup a Twitter application so that users can login/register via Twitter on your site. You will need to purchase the  social login extension if you want users to login via Twitter.

Creating a new app

To allow users to login to your site with their Twitter account you need to create a Twitter app. To create a new Twitter app please do the following:

  •  Enter the name of your App

  • Once the App is created, copy the API Key and API Secret Key
  • Add the keys in the Social Login > Twitter settings
  • Go Back to the Twitter Developer Portal https://developer.twitter.com/en/portal/projects-and-apps

    Under the Projects & Apps menu, see "Standalone" menu and click on your Twitter App's Name.

    Now, add your URLs to the callback URLs in the Twitter App settings under "Authentication Settings".

    First, Edit the Authentication Settings > Enable the options "Enable 3-legged OAuth" and "Request email address from users"

    And under the "Edit the Authentication Settings", Go to Callback URLs section and then add your Redirect URIs. See the example below:

 * Don't forget to add URLs for other required fields such as Website URL, Terms of Service and Privacy Policy

 * Once you've filled out all the required fields, hit on save and your Social Login for Twitter should be good to test.

 * You can also add your logo and organizational details on this page if you like.