Jump to content


* * * * *
Photo

Twitter Login Integration


[doctitle]Twitter Login Integration[/doctitle]

Twitter Connect will allow users to have the ability to use Twitter to login to your site.

When viewing the login form, users who are signed into Twitter will see a "Sign in with Twitter" button. After clicking this, they will be logged in immediately, eliminating the need for them to go through the registration procedure.

Users signed in with Twitter Connect also have the ability to sync their Twitter status in either direction, as well as their profile picture, profile background, and their "about me" information.

Existing users can associate their account on your community with their Twitter account through their settings page.

Setting Up Twitter Integration

1) First, you must create a Twitter application by visiting this URL. You must have a Twitter account to create an application.

2) Click on Create New Application

You will be presented with a form asking for some information about your "application":
Attached Image: Twitter_Developers_1.png

3) Fill in the form with the following information:

Name, Description: You can fill these settings in as you desire to represent your community.

Application Website: This should be the main URL to your community. For example, we would enter
http://community.invisionpower.com/

Callback URL: This should be set to your community's URL, followed by "/interface/twitter/index.php". For example, we would enter
http://community.invisionpower.com/interface/twitter/index.php

Tick the box to agree to the conditions and enter the captcha if it is displayed.

Click on 'Create Your Twitter Application'

4) On the configuration page, you will see various tabs. Click on 'Settings'.

Application Icon: You may upload your own icon if you wish

Application Type: This should be set to "Read & Write".

If you neglect to set this to "Read & Write" you will get "Access Denied" messages when sharing to twitter from the forum.

Organization, Website: If applicable, you can fill these in, or leave them blank. For example, we would enter "Invision Power Services" for Organization and "http://www.invisionpower.com/" for Website.

Attached Image: Twitter_Developers_2.png

Click on 'Update this Twitter Application's Settings'

5) Click on the 'Details' tab

You will be shown a screen, which has two important keys:

Attached Image: Twitter_Developers_3.png


Entering the settings in your forum

Login to your Admin Control panel (ACP)

Go to Admin CP --> System Settings --> Social media & Sharing -- > Twitter Connect.

Toggle the "Enable Twitter Connect" setting to yes, and enter the "Consumer Key" and "Consumer Secret" keys into the spaces provided.

Select the members group for anyone joining via their Twitter login.

Once you have saved these settings, Twitter Connect should be set up successfully on your community.
  • miketonline, BomAle, RmOsO and 1 other like this



0 Comments


Developer Docs · Error Codes