You've opened a new tab!

Sound familiar? You know IE holds back the Internet right?

Here you'll be able to find my brief notes on computer/linux things I'm currently doing, and if I had any troubles, details about how they were overcome.

My public GPG key
My public SSH key

My github

My nicknames:

  • cgerpheide (official)
  • phoxicle (IRC, forums, twitter)
  • HorseRayX (AOL -- haven't used this one since I was 11)

A list of my favorite XKCDs:

C0mput3rz & T3chno1ogy

Facebook LIKE woes: button reverts back after click

More and more I feel like my posts are just giving simple but nonobvious workarounds to silly problems.

Today's topic is facebook LIKE. I encountered a problem recently where I was trying to provide a URL for a like button, but when I clicked on the button, it would show the little count bubble for a second and then revert back to the un-liked state. In my case I was using the FBXML version of the like button.

So it turns out that (<- I swear every one of my posts now has that line) this happens when you provide an invalid URL. I had tried urlencoding the URL, but apparently that doesn't help. So far I've found that the following characters do not work:

Do not work:

  • URLs with GET parameters (ex: http://yoursite.com/?foo=bar)
  • URLs with underscores (ex: http://yoursite.com/foo_bar)
    • Fix: Use hyphens instead (ex: http://yoursite.com/foo-bar)