{"id":995,"date":"2011-03-27T12:34:09","date_gmt":"2011-03-27T16:34:09","guid":{"rendered":"http:\/\/patorjk.com\/blog\/?p=995"},"modified":"2014-01-25T17:49:18","modified_gmt":"2014-01-25T21:49:18","slug":"website-showdown","status":"publish","type":"post","link":"https:\/\/patorjk.com\/blog\/2011\/03\/27\/website-showdown\/","title":{"rendered":"Website Showdown!"},"content":{"rendered":"<figure id=\"attachment_1001\" aria-describedby=\"caption-attachment-1001\" style=\"width: 200px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2011\/03\/tiger-fight.png\" alt=\"\" title=\"tiger-fight\" width=\"200\" height=\"209\" class=\"size-full wp-image-1001\" \/><figcaption id=\"caption-attachment-1001\" class=\"wp-caption-text\">Photo By <a href=\"http:\/\/www.flickr.com\/photos\/fpat\/4242800364\/\">fPat Murray<\/a><\/figcaption><\/figure>\n<p>I&#8217;ve created a new web app that lets you pit two groups of websites against each other to see which group is more popular on Facebook. It&#8217;s called <a href=\"http:\/\/patorjk.com\/showdown\/\">Website Showdown!<\/a> and works by using the Facebook API to read the number of &#8220;Shares&#8221;, &#8220;Likes&#8221;, and &#8220;Comments&#8221; a particular URL has gotten on Facebook. Whichever group has the highest count, wins. <\/p>\n<p>Also, when comparing URLs, the exact URL counts. &#8220;http:\/\/patorjk.com\/&#8221; wont reference all of the times something from &#8220;patorjk.com&#8221; has been shared, only the number of times that particular URL has been shared. Trailing slashes (\/) also seem to matter.<\/p>\n<p>The data displayed in the app is read from Facebook&#8217;s <a href=\"http:\/\/developers.facebook.com\/docs\/reference\/fql\/link_stat\/\">link_stat<\/a> table. I may end up adding other Social Media stats to the results, but I&#8217;ll wait to see if there&#8217;s any feedback on this app first.  <\/p>\n<p>The Facebook API is actually kind of fun. I&#8217;ve avoided it since I&#8217;d heard some bad things, but I had no issues with it (however, this is probably the most basic type of app one can create). I&#8217;ll probably tinker around with it some more, though as of late I&#8217;ve got a lot of unfinished projects on my plate.<\/p>\n<p>Below you can see a screen cap of some results. If you find any bugs in the app please let me know.<\/p>\n<figure id=\"attachment_997\" aria-describedby=\"caption-attachment-997\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2011\/03\/showdown.png\" alt=\"\" title=\"Google vs Facebook\" width=\"500\" height=\"210\" class=\"size-full wp-image-997\" srcset=\"https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2011\/03\/showdown.png 500w, https:\/\/patorjk.com\/blog\/wp-content\/uploads\/2011\/03\/showdown-300x126.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-997\" class=\"wp-caption-text\">Google vs Facebook<\/figcaption><\/figure>\n<p>App URL: <a href=\"http:\/\/patorjk.com\/showdown\/\">Website Showdown!<\/a> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve created a new web app that lets you pit two groups of websites against each other to see which group is more popular on Facebook. It&#8217;s called Website Showdown! and works by using the Facebook API to read the number of &#8220;Shares&#8221;, &#8220;Likes&#8221;, and &#8220;Comments&#8221; a particular URL has gotten on Facebook. Whichever group &hellip; <a href=\"https:\/\/patorjk.com\/blog\/2011\/03\/27\/website-showdown\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Website Showdown!<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-995","post","type-post","status-publish","format-standard","hentry","category-web-apps"],"_links":{"self":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/comments?post=995"}],"version-history":[{"count":18,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/995\/revisions"}],"predecessor-version":[{"id":2731,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/posts\/995\/revisions\/2731"}],"wp:attachment":[{"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/media?parent=995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/categories?post=995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patorjk.com\/blog\/wp-json\/wp\/v2\/tags?post=995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}