{"id":356,"date":"2009-04-01T08:34:23","date_gmt":"2009-04-01T14:34:23","guid":{"rendered":"http:\/\/thepizzy.net\/blog\/?p=356"},"modified":"2014-07-07T11:35:46","modified_gmt":"2014-07-07T16:35:46","slug":"tweetsuite-tweetbacks-and-pingfm-wordpress-plugin-update","status":"publish","type":"post","link":"https:\/\/thepizzy.net\/blog\/2009\/04\/tweetsuite-tweetbacks-and-pingfm-wordpress-plugin-update\/","title":{"rendered":"TweetSuite, TweetBacks, and Ping.fm WordPress plugin (Update)"},"content":{"rendered":"<p>Well, I sent off my plugin code to Dan Zarrella, and got the Ping.fm developers API Key approved, and got WordPress.org to approve the plugin, and have been running it on my blog since its original announcement &#8211; but have run into a possible issue&#8230;<\/p>\n<p>My webhost says it is creating a lot of &#8220;sleeper&#8221; processes on the database server, and using up a lot of the processor resources. My account was even suspended until I fixed it.<\/p>\n<p>SO &#8211; I am going to be rewriting the whole thing, pretty much from scratch now, and it will only be loosely based on Dan&#8217;s version&#8230; <!--more--><\/p>\n<p>Currently, the code will run through the database of posts, and find those that have shortened URLs stored for them, run a twitter search, and return\/parse\/store\/display the resulting tweetbacks. And it does this every 5 minutes.<\/p>\n<p>However, that sucks up a lot of processing power to do that, especially if you have a big blog, popular blog, or both. The Answer: A Rewrite. This one is going to run a single Twitter search for every shortened url in the database, return ALL the results once, and parse them out, store them in the database, and associate them to their respective parent posts.<\/p>\n<p>So, there&#8217;s the update for why this hasn&#8217;t been released yet.<\/p>\n<p>I&#8217;m also working on trying to get the retro-active TweetThis buttons working on old posts &#8211; but something isn&#8217;t working right &#8211; either it&#8217;s the original code that isn&#8217;t comparing what&#8217;s in the database to the conditional statement correctly (if <em>this.url<\/em> = &#8220;&#8221;, then <em>make new ones<\/em>), or something. It&#8217;s going to take some more testing on my own test database, since my webhost is getting antsy with all the processes I&#8217;m using.<\/p>\n<p>I&#8217;ll keep everyone updated as it moves along. Thanks.<br \/>\n<a href=\"http:\/\/twitter.com\/neotsn\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"583\" data-permalink=\"https:\/\/thepizzy.net\/blog\/2010\/03\/user-cannot-connect-to-exchange-or-owa\/twitter-wordpress-neo12\/\" data-orig-file=\"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?fit=350%2C125&amp;ssl=1\" data-orig-size=\"350,125\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"twitter.com\/neotsn\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?fit=350%2C125&amp;ssl=1\" class=\"size-full wp-image-583  aligncenter\" title=\"twitter.com\/neotsn\" src=\"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?resize=350%2C125\" alt=\"twitter.com\/neotsn\" width=\"350\" height=\"125\" srcset=\"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?w=350&amp;ssl=1 350w, https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?resize=300%2C107&amp;ssl=1 300w, https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?resize=150%2C53&amp;ssl=1 150w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, I sent off my plugin code to Dan Zarrella, and got the Ping.fm developers API Key approved, and got WordPress.org to approve the plugin, and have been running it on my blog since its original announcement &#8211; but have run into a possible issue&#8230; My webhost says it is creating a lot of &#8220;sleeper&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[25,11,3,515,2],"tags":[149,214,207,229,959,523,954,524,518,958,525,281],"class_list":["post-356","post","type-post","status-publish","format-standard","hentry","category-programming","category-projects","category-tech","category-tweetsuite","category-updates","tag-api","tag-code","tag-database","tag-mysql","tag-pingfm","tag-plugin","tag-programming","tag-tweetback","tag-tweetbacks","tag-tweetsuite","tag-webhost","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/prOO4-5K","jetpack-related-posts":[{"id":319,"url":"https:\/\/thepizzy.net\/blog\/2009\/03\/tweetsuite-wordpress-plugin-pingfm-preview\/","url_meta":{"origin":356,"position":0},"title":"TweetSuite WordPress Plugin + Ping.fm (Preview)","author":"[[Neo]]","date":"March 21, 2009","format":false,"excerpt":"A couple weeks ago, I found out that Twitter had a Search feature that showed real-time tweets for a keyword. I gave it a little thought, considered what it would take to actually write the software - and then wised up, and decided to see if someone already did the\u2026","rel":"","context":"In &quot;Ping.fm&quot;","block_context":{"text":"Ping.fm","link":"https:\/\/thepizzy.net\/blog\/category\/projects\/pingfm\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":219,"url":"https:\/\/thepizzy.net\/blog\/2009\/03\/pingfm-wordpress-plugin-pingpressfm\/","url_meta":{"origin":356,"position":1},"title":"Ping.fm WordPress Plugin: &#8220;PingPressFM&#8221;","author":"[[Neo]]","date":"March 3, 2009","format":false,"excerpt":"I installed the Wordpress Pluging \"PingPressFM\" to try out using ping.fm to syndicate my blog posting to things like MySpace, Facebook, and my other blogs that I don't normally post regular content to. So, we'll see where this post ends up going, and I'll update it accordingly. UPDATE: Initial response\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/thepizzy.net\/blog\/category\/tech\/"},"img":{"alt_text":"twitter.com\/neotsn","src":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/08\/twitter-wordpress-neo12.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":100,"url":"https:\/\/thepizzy.net\/blog\/2008\/01\/twitter-tsn7\/","url_meta":{"origin":356,"position":2},"title":"twitter &#038; tsn.7","author":"[[Neo]]","date":"January 30, 2008","format":false,"excerpt":"With a new My Spot page comes new possibilities. This time around, I'm going to make a concerted effort to actually write in new code and attach a new database backend that pulls from the phpbb database and the users' accounts on the-spot.net.With this new plan, there will be increased\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/thepizzy.net\/blog\/category\/tech\/programming\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2008\/04\/Untitled-2.png?fit=400%2C400&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":915,"url":"https:\/\/thepizzy.net\/blog\/2010\/12\/concept-dropbox-api-integration-webhost-sync\/","url_meta":{"origin":356,"position":3},"title":"Concept: DropBox API Integration, Webhost Sync","author":"[[Neo]]","date":"December 27, 2010","format":false,"excerpt":"I enjoy trying to find solutions to things that are difficult to accomplish, whether that is researching existing technologies to try and mash them together, or developing new ones to solve a problem. It's rare that I have to create completely new things, so more often than not, all the\u2026","rel":"","context":"In &quot;Cloud Computing&quot;","block_context":{"text":"Cloud Computing","link":"https:\/\/thepizzy.net\/blog\/category\/cloud-computing-concepts\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2010\/12\/box1.png?fit=500%2C500&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1000,"url":"https:\/\/thepizzy.net\/blog\/2011\/01\/wordpress-plugin-bad-behavior\/","url_meta":{"origin":356,"position":4},"title":"WordPress Plugin: Bad Behavior","author":"[[Neo]]","date":"January 18, 2011","format":false,"excerpt":"Since I started using a\u00c2\u00a0WordPress\u00c2\u00a0blog back in 2005, I've always had the Akismet\u00c2\u00a0WordPress\u00c2\u00a0plugin installed, and it was the sole provider of my spam protection. It has done an awesome job with an at-this-moment\u00c2\u00a099.843% accuracy rating, and has blocked\u00c2\u00a021,215 spam comments of which 6,686 of them were just in the last\u2026","rel":"","context":"In &quot;Reviews&quot;","block_context":{"text":"Reviews","link":"https:\/\/thepizzy.net\/blog\/category\/reviews\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2011\/01\/2011-01-15_1512.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2011\/01\/2011-01-15_1512.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2011\/01\/2011-01-15_1512.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2011\/01\/2011-01-15_1512.png?resize=700%2C400 2x"},"classes":[]},{"id":91,"url":"https:\/\/thepizzy.net\/blog\/2007\/05\/update-new-rss-code-in-the-works\/","url_meta":{"origin":356,"position":5},"title":"Update: New RSS Code in the works.","author":"[[Neo]]","date":"May 28, 2007","format":false,"excerpt":"Earlier I posted on the RSS Code that I'm working on. I've done quite a bit of work on it so far - learning about the various functions that PHP offers. Most of what I thought I was learning while setting up the forums was not actually PHP's functions, they\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/thepizzy.net\/blog\/category\/tech\/programming\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/thepizzy.net\/blog\/wp-content\/uploads\/2008\/04\/Untitled-2.png?fit=400%2C400&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/posts\/356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/comments?post=356"}],"version-history":[{"count":7,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions"}],"predecessor-version":[{"id":1869,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/posts\/356\/revisions\/1869"}],"wp:attachment":[{"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/media?parent=356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/categories?post=356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thepizzy.net\/blog\/wp-json\/wp\/v2\/tags?post=356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}