Add Twitter authentication to your site

Adam Aaron -

Twitter

IMPORTANT Remember to replace ‘yourdomain.com’ with your actual domain anywhere in these instructions! Also, Twitter does not expose a users email address through their API so it is not currently possible to merge a Twitter account with an existing Tribalogic Platform account as the Twitter account will not have a common email address to access. 

  1. Login to Twitter at the following url: https://dev.twitter.com/apps

  2. Click the Create a new application button

    Fill in:

    • Name: Yourdomain Website

    • Description: Yourdomain Twitter integration

    • Website: http://yourdomain.com

    • Callback URL: http://yourdomain.com

  3. Agree to the ‘Rules of the Road’. Then click Create your Twitter application Leave the resulting window open you will need it in a minute.

  4. Open the Tribalogic Console in a new browser tab.

    • Go to: More > Websites > your site in the ‘Website name’ column
    01-tl-more-websites.jpg
    Select ‘Websites’ from the ‘More’ tab along the top of the Console
    • In the Tribalogic Console, scroll to the Social Login section and copy in the Consumer key (API key on twitter site) and Consumer secret (API secret on twitter site) to the Twitter section. You will find these in the API Keys section of the other browser window you left open a minute ago.
    03-tl-social-login-settings-twitter.jpg
    Paste your ID and Secret from the other window in the Twitter Section of Social Login. Then click save
    • In the Tribalogic Console, scroll to the bottom of the window and click the Save button. Congratulations you should now be able to login via your Twitter credentials.
  5. Visit your site, if you are logged in, then log out.

    • Click sign in and you should now see a Sign in with Twitter button.

    • If you are already signed in to your Twitter account clicking the button is all your user will have to do to sign in to your site.

  6. Now is a good time to treat yourself to those chocolates from the back of your desk draw!


Did you know you can also add Facebook and Google authentication?

Have more questions? Submit a request

0 Comments

Article is closed for comments.