Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Facebook 'like' button.

by Steve_BZ (Hermit)
on Jul 14, 2011 at 22:24 UTC ( #914450=monkdiscuss: print w/ replies, xml ) Need Help??

Hi People,

How hard would it be to put some social networking buttons on PM, like twitter, facebook etc? I would like see more ways being used to promote Perl and the Perl community.

More generally, how can one submit code to update PM?

Regards

Steve

Update, well this is something like the code required

<iframe src="http://www.facebook.com/plugins/like.php?href=htt +p://www.perlmonks.org/" scrolling="no" frameborder="0" style="border:none; width:450px; height:80 +px"></iframe></iframe>

Comment on Facebook 'like' button.
Download Code
Re: Facebook 'like' button.
by Anonymous Monk on Jul 14, 2011 at 23:20 UTC
    What would they do?

      Well if you saw The strictures, according to Seuss and liked it, you might press 'like' this would draw other Facebook friends to it. If they didn't know what Perl was then they might be intrigued enough to find out, and even try it out.

      They might even find it useful enough to tell other people. Let's face it, it's slightly more fun than MS Office Automation (no offence to the OA fans out there).

      Regards

      Steve

        So it requires Facebook account linked to your perlmonks account?
Re: Facebook 'like' button.
by perl.j (Pilgrim) on Jul 15, 2011 at 01:11 UTC
    Steve_BZ, this is a great idea. We could also "+1 up" things (from Google) but Facebook and Twitter would be great. Great publicity for PerlMonks and Perl in general.

      Hi pj,

      Thanks for your support. It's much appreciated. I hope we can do something to push the envelope a bit here on PM.

      Regards

      Steve

Re: Facebook 'like' button.
by jdporter (Canon) on Jul 15, 2011 at 02:33 UTC

    I think this is a capital idea. Not only would it result in some much-needed exposure for PerlMonks but it would show that we do in fact inhabit the 21st century.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
      So, maybe add them as nodelet?

      Hi JD,

      Are you saying there are 16,000 inactive users on PM?

      Wow!

      Steve

        Not exactly. There are 16,000 zombified users: accounts which were never used after being created.

        I suspect we've got far more than that many who were but are no longer active.

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re: Facebook 'like' button.
by moritz (Cardinal) on Jul 15, 2011 at 05:33 UTC

    Please don't install such buttons by default, they are a privacy nightmare.

    More specifically, if add a facebook "like" button to perlmonks, facebook can track visitors to perlmonks by track downloads of the image in that button, even if people don't click on it.

    I for one would rather stay in the web 1.0 by default than giving data about my browsing behavior to third parties I don't trust.

      Hi Moritz,

      It's true they are a nightmare and I always use them with discretion myself. However, if anyone can solve this issue, it's us. This is our core competence. For instance, if PM had a copy of the image button in its directories and we spoofed the action of the button, only passing through to Facebook if someone clicks.

      Here's a link to Facebook on it. http://developers.facebook.com/docs/reference/plugins/like/

      Regards

      Steve

        For instance, if PM had a copy of the image button in its directories

        Then we'd probably be infringing their copyright and/or trademark

        Update (2011-08-03): see this blog post for what happens when one tries to implement a solution that isn't a privacy nightmare.

Re: Facebook 'like' button. (atypical)
by tye (Cardinal) on Jul 15, 2011 at 05:33 UTC

    FYI, there will never be a standard facebook button on PerlMonks so long as I have any say. Corion appears to agree with me on that. The standard "usual suspects buttons", especially for facebook, are designed to funnel lots of usage information to the owners (of facebook, etc.) because they figure they'll find ways to sell that information or otherwise monetize it.

    Yes, if you want to make sure that facebook knows about every page you visit at PerlMonks, feel free to add their standard iframe to your Free Nodelet. That is your choice.

    However, it is possible (I assume) to make non-standard usual suspect buttons that don't feed information about every single page visit off to third parties tracking every perlmonks page you visit because you still have a facebook (etc.) cookie.

    But then, I've never looked at what tricks facebook might use to try to force people to make use of their iframes and javascript. I would expect them to try to make it at least inconvenient to create a "like" button that doesn't funnel usage information to them. Certainly, we have a perlmonks page on facebook so we could make a facebook logoish that links to that so people could "like" the site in general that way.

    If we were having some critical shortage of visitors to PerlMonks or googling just about anything Perl related didn't usually link to PerlMonks in the first page of results, then some of these things might even be good ideas. We've certainly had more serious problems (rarely) on the other side, that is, when some node on PerlMonks goes viral and the whole site suffers from the teeming throngs gawking for our "15 minutes" of their attention span.

    But I'm not dead set against having non-standard usual suspect buttons. I'd probably start with twitter just because they make me feel the least creeped out or worried when I consider stamping their logo all over the site.

    I can empathize with a desire to increase Perl's mindshare. Not that I think the problem is that not enough people have heard of Perl. Most every technical person I've met knows of Perl. It is just way too common for them to think a lot of bad things about Perl (most of which I quite disagree with). So more attention to Perl may not actually improve Perl's rep. I don't know. One would hope that more attention to PerlMonks threads would help more than hurt Perl's rep, though.

    The more technical community "like" buttons (reddit, digg) worry me because they seem most likely to lead to "slashdotting" (as well as to bringing a rude throng down upon the site). Facebook creeps me out because its owners have repeatedly shown a great desire to do really creepy things with private information. Google+ is too new for me to be comfortable shoveling too much information toward them yet.

    Twitter doesn't creep me out. I can even see uses for it, though the site manages to thwart most of my attempts to actually use it (like how getting useful information out of the thing is usually ruined by rampant promotion of verbatim "retweets"). But, no, I'm not drawn to batch-mode IRC with random bozos throughout the world -- each time I read a batch of tweets (other than sh*tmydadsays) I am reassured that there is nothing about tweeting that I am missing out on that would suit my personality.

    Making it easy for people to tweet about a specific thread (or node) at PerlMonks would at least be an interesting experiment to try.

    Linkedin I actually use (a little). I don't trust them to not abuse information about every page visit, of course. But, a while ago, while I was between jobs, I even did some work trying to make an official PerlMonks "group" on linkedin. I made some logos and came up with a scheme for automatically allowing people to prove their membership. But that scheme was thwarted by not being able to get e-mail to perlmonks.org to work well and then trying to set up an alternate e-mail address for the scheme got shoved aside because I was extremely busy moving and starting a new job.

    And I think there might even be more benefit to Perl by increasing PerlMonks' mindshare on Linkedin than increasing tweets about Perl. I don't know that Linkedin groups support it, but I think it would be cool if we made it possible to put a badge on your Linkedin profile that "proves" not only that you actually registered at PerlMonks, but that you reached "Level $N"... an interesting twist to the XP game.

    - tye        

      What about providing text link or an image link with onClick event and only the click will add the iframe tag to the current page? So no external code or elements on the pages unless someone is really willing to make a social network action like "like", "tweet" or "+1" or what ever sharing option we have today.

      Hi tye,

      I think it would be nice to try with twitter or linked in. I share your concerns about misuse of information, and I'd be happy to work with you on these. I have to confess I don't have a twitter account, but I do have a LinkedIn account.

      I'll have a look on LinkedIn and see if I can find out how to make one of their buttons. Maybe we could pilot something with interested Monks.

      Regards

      Steve

      ... I think it would be cool if we made it possible to put a badge on your Linkedin profile that "proves" not only that you actually registered at PerlMonks, but that you reached "Level $N"... an interesting twist to the XP game.

      A cool idea indeed. I think it would be trivial to make a micro-rendition of just homenodes. It would include the basics (XP) and a your homenode image wedged down to icon size.

      I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

        Although some of you may dislike this idea, as I said before, it is great for publicity. Some may say that PerlMonks has enough publicity (which it doesn't) but we need more. Facebook is the #1 Social Networking site in the world. Steve_BZ deserves tons of credit for this idea.

      Also, just because SOME devs from PerlMonks agree with you doesn't mean ALL do.

        Also, just because SOME devs from PerlMonks agree with you doesn't mean ALL do.

        LOL :D Well no-s-mr-sherlock :) tye, Cardinal (24) , is gods, Corion, Saint (26) , is gods, they're both PerlMonks for 10+ years, programmers longer, logic is not a strange mistress to them :)

      ...as well as to bringing a rude throng down upon the site...

      I think we may already be there.

Re: Facebook 'like' button.
by jdporter (Canon) on Jul 12, 2012 at 14:30 UTC

    Assuming you'd rather do google+ "+1", you can easily achieve this by installing a browser plug-in which lets you "+1 any page". No mods to PerlMonks needed at all.

      And for that matter, people could just paste the link of the node into a Facebook status update if they wanted to share on Facebook. There was certainly a lot of arguing in this thread considering how easy it is to incorporate social media into your PM experience w/o altering PM.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://914450]
Approved by jdporter
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-09-19 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls