{"id":23507,"date":"2013-05-24T16:40:01","date_gmt":"2013-05-24T16:40:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pay-with-a-tweet\/"},"modified":"2014-09-08T19:24:35","modified_gmt":"2014-09-08T19:24:35","slug":"pay-with-a-tweet","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/pay-with-a-tweet\/","author":11892285,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.5","stable_tag":"1.0.5","tested":"4.0.38","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Pay With a Tweet","header_author":"Rolando Caldas S\u00e1nchez","header_description":"","assets_banners_color":"","last_updated":"2014-09-08 19:24:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/rolandocaldas.com\/proyectos\/wordpress\/pay-with-a-tweet","header_author_uri":"http:\/\/rolandocaldas.com\/","rating":3,"author_block_rating":0,"active_installs":10,"downloads":6453,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Just override the plugin files.\nGo to \/wp-content\/uploads\/ and, if exists, rename pay-with-tweet folder to pay-with-a-tweet<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1567046","resolution":"5","location":"plugin"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1567046","resolution":"7","location":"plugin"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1567046","resolution":"6","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1567046","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567046","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1567046","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567046","resolution":"1","location":"plugin"}},"screenshots":{"1":"Configuration screen","2":"Manage files","3":"Upload files","4":"Upload files 2","5":"Manage buttons","6":"New button","7":"Widget"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[174,825,159,7922,284],"plugin_category":[43,56],"plugin_contributors":[87141],"plugin_business_model":[],"class_list":["post-23507","plugin","type-plugin","status-publish","hentry","plugin_tags-social","plugin_tags-social-marketing","plugin_tags-twitter","plugin_tags-viral","plugin_tags-viral-marketing","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-rolandocaldas","plugin_committers-rolandocaldas"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pay-with-a-tweet.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-1.png?rev=1567046","caption":"Configuration screen"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-2.png?rev=1567046","caption":"Manage files"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-3.png?rev=1567046","caption":"Upload files"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-4.png?rev=1567046","caption":"Upload files 2"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-5.png?rev=1567046","caption":"Manage buttons"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-6.png?rev=1567046","caption":"New button"},{"src":"https:\/\/ps.w.org\/pay-with-a-tweet\/trunk\/screenshot-7.png?rev=1567046","caption":"Widget"}],"raw_content":"<!--section=description-->\n<p>This plugin does not need services of others, unless of course Twitter.<\/p>\n\n<p>Create buttons so that your visitors can download files after posting on his twitter the message you choose. You can display different buttons using shortcodes or the widget included.<\/p>\n\n<h4>Some Features<\/h4>\n\n<ul>\n<li>Manage downloads\n\n<ul>\n<li>Files for use on \"Pay with a Tweet\" will be uploaded from the <a href=\"http:\/\/www.example.com\/wp-admin\/admin.php?page=pay-with-a-tweet\/admin\/pwt-upload.php\">upload files screen<\/a>.<\/li>\n<li>For uploading files using the file upload system WordPress.<\/li>\n<li>The uploaded files are not part of the WordPress media manager.<\/li>\n<li>Files are not accessible via web.<\/li>\n<li>When you delete a file removes all the buttons that use it.<\/li>\n<li>Access to the creation of a button from the file upload.<\/li>\n<\/ul><\/li>\n<li>Manage buttons\n\n<ul>\n<li>Each button created is linked to a file. There can be multiple buttons linked to the same file.<\/li>\n<li>Each button can set a title, the button image to use as button and the text to publish as tweet.<\/li>\n<li>The buttons can be deleted or permanently delete. This second option will delete the image and file.<\/li>\n<\/ul><\/li>\n<li>Multiple languages support\n*The plugin includes English and Spanish. Furthermore, in pay-with-a-tweet-wp-plugin\/tree\/master\/pay-with-a-tweet\/languages \u200b\u200bdirectory the .po is available for translation in other languages<\/li>\n<li>Shortcodes\n\n<ul>\n<li>The plugin includes the shortcode <code>[pwt id ='']<\/code> to add the button anywhere in a post or page.<\/li>\n<\/ul><\/li>\n<li>Widget\n\n<ul>\n<li>The plugin includes a widget to place the button on the sidebars. The widget allows you to enter a title, a text to display before the button and a dropdown to select the desired button.<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><a href=\"http:\/\/wordpress.org\/plugins\/pay-with-a-tweet\/other_notes\/\">See all features<\/a><\/p>\n\n<h3>Features<\/h3>\n\n<h4>Configuration<\/h4>\n\n<p>To use the plugin you must create a Twitter application and add the <code>key consumer<\/code> and <code>consumer secret<\/code>.<\/p>\n\n<p>When creating the Twitter application is necessary to properly set the <code>callback URL<\/code>. This address is in the plugin <a href=\"http:\/\/www.example.com\/wp-admin\/admin.php?page=pay-with-a-tweet\/admin\/pwt-config.php\">Configuration screen<\/a>.<\/p>\n\n<h4>Manage downloads<\/h4>\n\n<ul>\n<li>Files for use on \"Pay with a Tweet\" will be uploaded from the <a href=\"http:\/\/www.example.com\/wp-admin\/admin.php?page=pay-with-a-tweet\/admin\/pwt-upload.php\">upload files screen<\/a>.<\/li>\n<li>For uploading files using the file upload system WordPress.<\/li>\n<li>The uploaded files are not part of the WordPress media manager.<\/li>\n<li>Files are not accessible via web.<\/li>\n<li>When you delete a file removes all the buttons that use it.<\/li>\n<li>Access to the creation of a button from the file upload.<\/li>\n<\/ul>\n\n<h4>Manage buttons<\/h4>\n\n<ul>\n<li>Each button created is linked to a file. There can be multiple buttons linked to the same file.<\/li>\n<li>Each button can set a title, the button image to use as button and the text to publish as tweet.<\/li>\n<li>The buttons can be deleted or permanently delete. This second option will delete the image and file.<\/li>\n<\/ul>\n\n<h4>Multiple languages support<\/h4>\n\n<p>The plugin includes English and Spanish. Furthermore, in pay-with-a-tweet-wp-plugin\/tree\/master\/pay-with-a-tweet\/languages \u200b\u200bdirectory the .po is available for translation in other languages<\/p>\n\n<h4>Shortcodes<\/h4>\n\n<p>The plugin includes the shortcode <code>[pwt id ='']<\/code> to add the button anywhere in a post or page.<\/p>\n\n<h4>Widget<\/h4>\n\n<p>The plugin includes a widget to place the button on the sidebars. The widget allows you to enter a title, a text to display before the button and a dropdown to select the desired button.<\/p>\n\n<h4>Download process<\/h4>\n\n<p>When a user click on the button\/link to download the file, he must accept to access the website to post the tweet associated with the button, once properly released, the download is automatically launched.<\/p>\n\n<pre><code>The plugin does not store the user's access_token so the plugin may not post tweets in the user's account at any time unless the user expressly click on download file.\n<\/code><\/pre>\n\n<h4>Stats<\/h4>\n\n<ul>\n<li>When somebody download a file via a button pay with a tweet, reference is stored (in your WP database) for statistical purposes.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>pay-with-a-tweet<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to pay-with-a-tweet configuration page and fill the fields. Video tutorial:<\/li>\n<\/ol>\n\n<p>http:\/\/www.youtube.com\/watch?v=AO1_-vrLPZ0<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Is the code documented?<\/dt>\n<dd><p>Yes, all the code is documented with phpDoc. \nIn the doc folder you can see the HTML version.<\/p><\/dd>\n<dt>I click in the download button and HTTP error returned<\/dt>\n<dd><p>Make sure you have correctly configured the plugin. See this video:<\/p>\n\n<p>http:\/\/www.youtube.com\/watch?v=AO1_-vrLPZ0<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<p>Fix issue \"Cannot redeclare class TwitterOAuth in \n(...)\/wp-content\/plugins\/pay-with-a-tweet\/lib\/twitteroauth.php on line 15\"<\/p>\n\n<h4>1.0.4<\/h4>\n\n<p>Fix issue \"Fatal error: Cannot redeclare class OAuthException\" when OAuth PECL\npackage is installed or another plugin load the same library.<\/p>\n\n<p>Add a new callback page before publish the tweet and start the download.<\/p>\n\n<h4>1.0.3<\/h4>\n\n<p>Fix issue with the download when wordpress is installed in a subfolder<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>Create a button admin page: hide image and index.html in downloads list\nChanged twitter api version to 1.1<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Fix issue with folder name of plugin.\nFix issue $_SESSION, changed to $_COOKIE<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Initial version<\/p>","raw_excerpt":"Allow your visitors to download files after publishing a tweet on his twitter account.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23507"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rolandocaldas"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23507"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23507"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23507"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23507"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23507"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}