As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/

Problem = Solved!

KyleWPetersonKyleWPeterson Registered User regular
edited September 2010 in Help / Advice Forum
Click here

I've been trying to update my old blog a bit and have managed to get the Like button on all of my posts but I can't figure out what to do to get it so the individual posts are liked instead of the Facebook Developer Page I got it from. Any HTML experts out there?

The code is: <iframe allowTransparency='true' frameborder='0' scrolling='no' src='http://www.facebook.com/plugins/like.php?href=data:post.url&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light' style='border:none; overflow:hidden; width:450px; height:20px'/>

KyleWPeterson on

Posts

  • KyleWPetersonKyleWPeterson Registered User regular
    edited September 2010
    If no one knows, could someone point me in the right direction?

    KyleWPeterson on
  • bsjezzbsjezz Registered User regular
    edited September 2010
    bear in mind the forums have been down for most of today so there's no need to be impatient; i'm sure someone will be able to help you

    from a novice's view it looks like your issue is with the href=data%3Apost.url&amp string; try changing it at least to href=http://yourblogname.com to see if that helps. ultimately you'll want to link to the current post's permalink rather than just your blog, but i don't know how to do that for blogspot specifically

    edit: here is some blogger-specific advice. try to make your code match up with the code he has there

    bsjezz on
    sC4Q4nq.jpg
  • KyleWPetersonKyleWPeterson Registered User regular
    edited September 2010
    Ah, had no idea the boards were down so my apologies.

    KyleWPeterson on
  • KyleWPetersonKyleWPeterson Registered User regular
    edited September 2010
    Got it, thanks so much! Mods, feel free to lock.

    KyleWPeterson on
This discussion has been closed.