How to configure Twitter Consumer Key and Twitter Consumer Secret ?



We provide free instruction on setting up Twitter Consumer Key and Twitter Consumer Secret.

 

1)  Go to the  https://developer.twitter.com/en/portal/apps/new

 

2) 

 

If this is the first time you are creating a Twitter application (or you haven't created one in a long time), you should see the following screen appear:

 

 

You are told that in order to create a new Twitter application, you must apply for a developer account. Click on "Apply".

 

If you do not see this screen it means that you have already obtained a developer account and in this case, skip the following steps and go directly to the configuration step of your new application.

 

On the first step of your application, indicate the main reason for your use of Twitter developer tools. For example, as you will allow Twitter users to connect to your site using their credentials, we suggest you select "Building tools for Twitter users" :

 

 

Click on "Next".

 

Check your information, select the country you live in and give your "developer" profile a name:

 

Then you are asked to describe how you will use your users' Twitter data.

 

Copy the following text:

 

 

You can copy/paste it directly from there :

 

I'm using a module on my website that allows my customers to log in very quickly through their Twitter account. I only retrieve the public name of my users on Twitter. No other data. The email address collected is not the real address so that the personal data is protected.

 

Then select "No" for each question that follows and click "Next" :

 

 

Check the information again and click on "Looks good!" :

 

 

Read the document, check the box to indicate that you have read and accept the contract and click on "Submit Application" :

 

 

You will receive an e-mail to confirm your e-mail address. Click on the link provided inside. Your application should be validated instantly and you should be able to create your new app right away:

 

 

 

Go to the  https://developer.twitter.com/en/portal/apps/new

 

 

 

Fill the form

 

Fill the "App Name" and click "Next" button

 

 

 

Fill the form

 

- Copy your «API key» and «Api secret key»

 

API key and API secret key - put it all to the admin panel.

 

After click on the button "App settings"

 

 

Fill the form

 

Click on the "Edit" button in the section "App Permissions"

 

 

Read and Write

 

- Set: Read and Write and click on the "Save" button

 

 

Fill the form

 

Click on the "Edit" button in the section "Authentication settings"

 

 

 

Fill the form

 Fill the form:

 

1. Select "Enable 3-legged OAuth"

2. Select "Request email addresses from users"

3. You have to set the callback url like: https://www.yoursite.com/module/MODULEFOLDERNAME/twitter

 

"MODULEFOLDERNAME" - folder name with the module

 

4. Website URL: https://www.yoursite.com/

5. Terms of Service URL

6. Privacy policy URL

9. Click «Save» button

 

And it is working now. Start twitting. Seriously go make a testing tweet or something.



You will also find other SPM Prestashop Modules