Twitter

Configure Twitter application

In order to share via Twitter, it is essential to configure a new application for the required parameters in the plugin settings dashboard.

enable twitter

Go to https://apps.twitter.com/ and click on the “Create new app” button.

Screen Shot 2018-06-15 at 14.22.47

Complete the required fields and insert in “Callback url” one of the two options suggested in YITH Plugins -> Share for Discounts -> Settings -> Twitter

callback url

create an application

After creating the application, go to the “Keys and Access Tokens” section to recover the required parameters, that is “Twitter Consumer Key” and “Twitter Consumer Secret”.
Copy and paste them in the related options of the plugin.

api key

the last step is to click on the “Create my access token” button that you find at the bottom of “Keys and Access Tokens” Twitter section.

token actions

If the process ended well, now your users could start sharing your contents via Twitter in order to get the discount you provided.

final tweet