{"id":27702,"date":"2015-07-05T05:39:22","date_gmt":"2015-07-05T10:39:22","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=27702"},"modified":"2015-07-07T19:30:03","modified_gmt":"2015-07-08T00:30:03","slug":"share-buttons","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=27702","title":{"rendered":"Share Buttons"},"content":{"rendered":"<p>Right now, at the bottom of every post, is a collection of your typical social media share buttons. Facebook, Twitter, and Reddit. (Actually, I&#8217;m sort of turning them on and off at random to see how they behave and how much people use them, so the actual list you see below might be different.) So let&#8217;s talk about these.<\/p>\n<p>One of the things I&#8217;ve been thinking about over the last few months is discoverability. <em>How do new readers find my site?<\/em> <a href=\"?p=26865\">About a month ago<\/a> I said this:<\/p>\n<p><!--more--><\/p>\n<blockquote><p>Readers come and go. There was a time when I refreshed <a href=\"http:\/\/www.lileks.com\/\">Lileks.com<\/a> obsessively. I&#8217;m a sucker for nostalgia and ruminations on the first half of the 20th century, and if you want to cruelly mock while also secretly appreciating the quaint, kitschy, corny styles of middle America then he&#8217;s the best in the business. I&#8217;d read everything the guy wrote, and when he didn&#8217;t post new content I&#8217;d go back and re-read some of my favorites<span class='snote' title='1'>This <a href=\"http:\/\/www.lileks.com\/institute\/interiors\/BHG\/index.html\">retrospective on the 70s<\/a> is pretty cathartic, for my money. I think that was my introduction to his work, actually.<\/span>. His blog was pretty influential on my own writing and is probably why I drop into <a href=\"?p=12687\">autobiographical mode<\/a> once in a while.<\/p>\n<p>Then one day I just&#8230; stopped. I have no idea why. James Lileks didn&#8217;t lose his mojo, sell out, offend me, or or anything else that usually causes a rift between fan and artist. I just finally got enough of whatever I was looking for, and I stopped going. I know the same thing happens to people who read this site. They eventually get enough of my crap and move on. It happens. <\/p>\n<p>So part of this job is entertaining the existing audience, and part of the job is replacing people who wander off. This was really easy in 2012 when I was spamming <a href=\"http:\/\/www.escapistmagazine.com\/\">The Escapist<\/a> with content three or four times a week. I was putting up a lot of media-rich<span class='snote' title='2'>The polite way of saying &#8220;has lots of pictures&#8221;.<\/span> content and all those bylines led people back here. But those days are gone.\n<\/p><\/blockquote>\n<p>I&#8217;m not looking to become a superstar. In fact, I think I&#8217;ve pretty much carved out my niche. Long-form essays on games, plain-language discussions of programming, my collaborations with the Spoiler Warning crew, and the very occasional video content. I&#8217;m not going to be the next TotalBiscuit, Angry Joe, Boogie2988, or any of the other big names with millions of fans and followers. And that&#8217;s fine. I&#8217;m not equipped for that kind of gig anyway, and I think we have a good thing going here<span class='snote' title='3'>Just doubling my audience might make it impossible for me to do the moderation thing. Yes, I could delegate things to volunteer mods, but right now I read every single comment, and I&#8217;d be really unhappy if that were no longer the case.<\/span>.<\/p>\n<p>But like I said above, I do worry about replacing the people that leave. It&#8217;s a natural part of the circle of content. Social media buttons are the best way to accomplish this. They&#8217;re so effective that the alternatives (advertising, various methods of self-promotion) are barely worth mentioning. I say this from experience. <\/p>\n<p>I had share buttons on the site a couple of years ago, but they were flaky and unreliable. Facebook was in the middle of one of their API overhauls, so there were a bunch of different versions of share button plugins for WordPress<span class='snote' title='4'>The software that runs this site.<\/span> and they were all broken in minor but irritating ways. Worse, I remember that a lot of plugins would only serve one social media site, so you needed a lot of plugins. A plugin for Facebook, another for Twitter, another for StumbleUpon, or whatever else was big at the time. The plugins fought with each other, it was difficult to properly format their output<span class='snote' title='5'>Instead of a row of buttons, each button would appear on its own line, thus wasting tons of precious screen space.<\/span>, sometimes they would break for no reason, and it was basically a giant headache. I eventually gave up on them. <\/p>\n<p>But a couple of weeks ago I installed <a href=\"https:\/\/wordpress.org\/plugins\/jetpack\/\">Jetpack<\/a>, which is a giant collection of tools and improvements for WordPress. You might have noticed that you can now post Youtube videos by simply putting the video URL on a line by itself in the comments like so&#8230;<\/p>\n<p><code>https:\/\/www.youtube.com\/watch?v=cUYSGojUuAU<\/code><\/p>\n<p>&#8230;and it will automagically expand into the embedded player when your comment is posted. This &#8211; and a bunch of other little details that I&#8217;m still discovering &#8211; are the result of Jetpack. Included in this is a collection of share buttons that work out of the box. So I&#8217;m giving these a try. <\/p>\n<h3>Cookies and Privacy Concerns<\/h3>\n<p><table width='800' class=\"\" cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/stock_cookies.jpg' class='insetimage' width='800' alt='Damn it, now I&#8217;m hungry.' title='Damn it, now I&#8217;m hungry.'\/><\/td><\/tr><\/table><\/p>\n<p>Facebook really is a creep about privacy. They have a reputation for grabbing more data than they could possibly need or use, and they don&#8217;t seem to be particularly careful with it. This creepyness can apply to you, <em>even if you don&#8217;t have a Facebook account<\/em>.<\/p>\n<p>How it works is this: The Facebook buttons you see around the web are often IFRAMES, sourced to Facebook.com. Which means it&#8217;s a tiny little page-within-a-page that obeys the rules of Facebook, not the rules of the site you&#8217;re visiting. So when you load the page, that little Facebook icon knows two things:<\/p>\n<p>1) The URL of the page you&#8217;re viewing.<br \/>\n2) The fact that &#8220;you&#8221; visited this particular URL.<\/p>\n<p>If you don&#8217;t have an account, it assigns you a generic unique identifier and leaves a cookie in your browser cache, along with the URL of the page you&#8217;re viewing. So now you have a cookie on your machine that says &#8220;User Rando12345 visited GokuSlashFiction.net on Sunday July 5, 2015&#8221;. This is true even if you have no account and don&#8217;t interact with the button in any way.<\/p>\n<div class=\"dmnotes\">A cookie is a generic data file that is linked to a specific site. When you go to steampowered.com and enter your Steam name and password, that login info is stored in a cookie on YOUR machine. That cookie is locked to that specific domain, so GoG.com can&#8217;t ever, ever read the contents. Cookies are what is used to store your login info, the contents of your online shopping cart, and lots of other things that are really useful to you. Cookies aren&#8217;t evil, but they do pose some privacy concerns.<\/div>\n<p>Then as you surf around the web, you&#8217;ll run into other pages with Facebook buttons, and your visit will again be stored in that same cookie. This is one of the reasons people encourage you to clear your cookies: They can indirectly store your browsing history, even if you&#8217;re super-careful and clear that history periodically. The downside of course is that if you clear your cookies, every website &#8220;forgets&#8221; your name and password.<\/p>\n<p>I wouldn&#8217;t know personally, but I&#8217;ve been told that otherwise reputable pornography sites actually have Facebook like \/ share buttons on them these days. I can&#8217;t imagine a situation where a sane person would USE those buttons, but there you go. <\/p>\n<p>The problem pops up next year, when your relatives finally harangue you into creating an account because they insist on planning all their events through Facebook. During account creation, Facebook finds the cookie identifying you as &#8220;User Rando12345&#8221;, and links that history to your new account. So now Facebook knows that &#8220;John Smith visited GokuSlashFiction.net on Sunday July 5, 2015&#8221;. <\/p>\n<h3>Getting Back to the Share Buttons<\/h3>\n<p>It&#8217;s not clear what information Facebook collects, how long they keep it, how they use it, how secure it is, or how well the company follows the various laws in all the myriad of jurisdictions where they operate. <\/p>\n<p>So some people really, really hate Facebook buttons. I get that. And I think this hostility is justified. At the same time, Facebook is everywhere. The number of people who boycott Facebook-enabled sites must be vanishingly small, because you&#8217;d basically be boycotting most of the internet. Therefore I imagine everyone falls into two categories:<\/p>\n<p>1) People who aren&#8217;t worried about Facebook.<\/p>\n<p>2) People who have installed <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/facebook-disconnect\/ejpepffjfmamnambagiibghpglaidiec?hl=en\">a plugin to block Facebook<\/a>.<\/p>\n<p>Which means I think that it&#8217;s basically harmless to have this button on the site. If you hate Facebook, then you&#8217;ve probably blocked the button and you won&#8217;t see it anyway. If you don&#8217;t, then you might appreciate having a handy way to share stuff without needing to cut &#038; paste the URL, image, and description to build your own Facebook post. You can just click the button, type your words, and move on.<\/p>\n<p>So now you know why I added the button, how it might impact you, and why some people don&#8217;t like it. My next task is to write something actually worth sharing. <\/p>\n<p>Does anyone want to read ten thousand words on the Mass Effect trilogy?<\/p>\n<p><strong>EDIT: I&#8217;ve replaced the previous share buttons with new ones that theoretically don&#8217;t do any tracking. If it works as advertised, then Facebook won&#8217;t know you were here unless you press the share button. It also means the entire 1,500 word post you just read was a waste of your time, talking about a problem that is no longer relevant to the site. Oh well!<\/p>\n<p>Thanks to Roger H&agrave;\u00a5gensen and Zak McKracken for the advice and links.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Right now, at the bottom of every post, is a collection of your typical social media share buttons. Facebook, Twitter, and Reddit. (Actually, I&#8217;m sort of turning them on and off at random to see how they behave and how much people use them, so the actual list you see below might be different.) So [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[],"class_list":["post-27702","post","type-post","status-publish","format-standard","hentry","category-notices"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/27702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27702"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/27702\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}