Configuring Sign-In using Twitter
Enabling the Twitter Sign-In Integrations enables visitors and customers to register, sign in, and connect their Twitter accounts with your WHMCS installation for faster signup and automatic sign-in.
Configuring Sign-In with Twitter
WHMCS uses Twitter API v1.1. Some Twitter accounts will require Elevated access to use this version of the Twitter API.
Twitter Sign In Integration requires a Twitter app and API credentials. You can create this using your existing Twitter account. Users will only see the app name you define.
To do this:
- Log in to your Twitter account.
- If you change the Twitter account under which you create the app, users must re-authenticate and re-link their accounts.
-
- Go to https://developer.twitter.com/en/portal/dashboard .
- Select Projects & Apps and then Overview from the left sidebar.
- Click Create App.
- Enter an App name.
- Save the API Key and API Secret Key.
- Go to app settings and click Set Up in the User Authentication Settings section.
- Enable OAuth 2.0.
- Set Type of App to Web App.
- Enter your WHMCS Client Area URL for the callback URLs and website URL.
- You must enter a valid callback URL.
- We recommend adding all three possible callback URLs, replacing http://example.com/whmcs/ with your WHMCS installation URL:
- Click Save.
- Log in to the WHMCS Admin Area.
- Navigate to Configuration () > System Settings > Sign-In Integrations or, prior to WHMCS 8.0, Setup > Sign-In Integrations.
- Select Activate under the Twitter heading.
- Enter your Twitter API Key in the ConsumerKey field and the API Secret into the ConsumerSecret field.
- Click Save & Activate.
WHMCS will attempt to validate and test the details you have entered. If the API key and secret are valid and successfully authenticate with the Twitter API, the values will be saved.
For troubleshooting help, see Troubleshooting Sign-In using Twitter.