Post Pic Add a Facebook “Like” button to your WordPress blog

I think I just identified a pretty major bug in Facebook’s ‘Like’ button, which allows webmasters to write data on FB’s social graph, which cannot be ‘deleted’ *if* they should they make a mistake when they initially implement the code into their website.

And due to the way FB presents the tool and the code generator to the public, many webmasters do not read the docs (and just add the cut and paste code) and fail to add the meta tags required to admin the tool… which causes permanent problems later, if they ever want to admin the tool. In fact, most webmasters with this issue dont even know there an admin panel should have been dynamically generated for them when they first added the code, which they forever locked themselves out of.

They post will probably be deleted soon… because ‘stickied’ threads in the developers’ forums tend to do that… but here is the most current status of the issue:

But now they have an issue with authenticating the admin really has the website’s permission to admin their tool… and that’s a little sticky. I suggested they email the ‘tech contact’ listed in the whois of the domain in question. Otherwise you have a hijacking risk.

Another issue is simply that the easiest solution may involve deleting the data associated with the fan’s actions, which means people waiting for the solution will eventually have their count go back to zero. And webmasters don’t get enough loves as is so I doubt they will take losing all their hard won contacts without a bit of a backlash. Especially when many are bloggers. I guess we’ll see what they say Monday.

Facebook is one of the largest and more popular websites of the world. Althought I do not have an account there, I figured out many of you would be interested in knowing how you can ad a “Like” button to your blog. That’s very easy, just read this recipe.

Open your single.php (or any file where you’d like the “Like” button to be displayed), and paste the following code:

<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>

That’s all. Once the file saved, the facebook “Like” button will be displayed. A live demo can be seen on Visiter New York.

Web Hosting

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

*