You may often find sites that share free files for visitors but the files can be downloaded after tweeting. If you want to create a site and offer file downloads on your WordPress site, then you can also add a tweet feature to your site before visitors can download your files. In this way, of course, you also get promotional benefits through social media, Twitter and the visitor gets your files for free, and this is a fair way. In this article, I will show you how to add a Pay With Tweet button to download files in WordPress.
How to Install Pay With Tweet
The first thing you need to do is download and install a plugin Pay With Tweet. After you activate the plugin, please enter the menu Pay with Tweet »Configuration and do plugin settings.
To use Pay With Tweet, you are required to create a Twitter App and then add a Consumer key and Secret Key on this configuration page.
Creating a Twitter App
To create a Twitter App, please visit the website Twitter Developer. Sign in with your Twitter username and password, and then scroll down to see the row of menus in the footer section and find the Tools menu, then click the menu Manage Your Apps.
On the next page, you need to click a button Create New App
After that, Twitter will display a new application form. You enter an application name and description. In the Website URL field, enter the URL of your website where you will use this application. In the callback URL, you must enter the callback URL, this URL is the url where you use this application. Finally, you need to agree to the terms of service and click on the button Create Your Twitter Applications.
Twitter will now build the app and take you to the app dashboard. There you need to click on the Permissions tab to change app permissions. By default, newly created applications have read-only access, you need to change this to Read and Write.
After saving your new application settings you need to click on a button OAuth test. You will find the Consumer key and Secret Key that you need, please copy and paste it on the Pay With Tweet configuration page in your wordpress admin.
Adding Downloads File
After you finish setting up the Pay With Tweet plugin. The next step is to upload your file which can be downloaded after tweeting. To do that, please enter the menu Pay With a Tweet »Upload file.
After you finish uploading your file, please manage the file by going to the menu Pay With Tweet »Manage Files.
Create a Pay With Tweet Button
To create a Pay with Tweet button, you need to click on it Pay With Tweet »New Payment Button. Enter the title and tweet message you want to tweet.
The third option on the screen is to add a button image. This button image will be used to display your button. Click on the button Choose File to add an image to upload.
After adding the button image, you need to select the file that the user will download when finished sending the tweet. The file you uploaded earlier will appear here and you can select it. Lastly, you need to click the Button Create Payment Button.
Install a Pay With a Tweet button on a post or page
After you create buttons, you can view and manage all your buttons on Pay With a Tweet »Manage Buttons. You will see the shortcode next to the button you just created.
In order to display the Pay With a Tweet button in a WordPress post or page, you will need to copy this shortcode and paste it into your post / page. After you publish your post, users will be able to hit the Pay With Tweet button to access the downloaded files.
The following is a complete tutorial for creating a Pay With Tweet button on your WordPress site before visitors download the file, I hope this is useful for you and your site to easily get tweet promotions.