Configuring Twitter

A- A+

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

Quick overview of the Social Login Module (Twitter)

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 the 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.

Developer App creating

Creating A Developers Account

When you click on Create New App, Twitter will ask you to apply for a developer's account if you do not have one.

Twitter Developer Account

If you click on Apply, you will be taken to a page where you have to choose what you want to do with this developer's account. It is better to choose Exploring the API or Do Something Else if you are confused. After choosing, click on the Next button.

Option to developers Account

If you are already logged in to your Twitter handle, then they will immediately recognize you. Don't worry, if you are not logged in the login page to Twitter will appear.

You need to select your country, your username. If you want you can change your email address. Again click on Next.

Twitter Profile developers Account

The next page will be some questions. Twitter will ask you how you want to use Twitter API.

FAQ

Also to describe your planned use of those features. Click on Next.

FAQ 2

Then, you need to confirm if the information you have given is correct or not. If it is not correct then you can edit. Else, you hit Looks Good confirm.

Confirmation Page

After that, comes the agreement page. If you agree with the terms and policy then mark the box. Click on Submit Application.

Developer Agreement

Note that, it takes usually 5 hours to a day to confirm your application. If you are lucky it can take a few minutes. After confirming you will get a confirmation email and a link. After clicking on the link you will be taken to a page.

Click on Create An App.

Application Confirmation Page

Well done, your developer account is created.

Create A Twitter App

You will be redirected to this link. Click on Create New App.

Click on Create New App

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.

App details

→ Name: Give an appropriate apps name. This is used to attribute the source of a tweet and in user-facing authorization screens. The word limit is 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 successful register or logging in. Copy the link from your setting page that has been generated already.

Call Back URL

Now paste it in the settings

Settings Of WPUF

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

Your 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 in the image below.

Access Key And Token

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

Copy and paste Access key and Token

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

Form

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

Log in Page

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