In order to share via Twitter, it is essential to configure a new application for the required parameters in the plugin settings dashboard.
Go to https://apps.twitter.com/ and click on the “Create new app” button.
Complete the required fields and insert in “Callback url” one of the two options suggested in YITH > Share for Discounts > Settings > Twitter
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.
As last step click on the “Create my access token” button that you find at the bottom of “Keys and Access Tokens” Twitter section.
If the process ended well, now your users could start sharing your contents via Twitter in order to get the discount you provided.