Facebook Like button for your site
WordPress editor allows only text in posts and sidebar. It strips off scripts(js) and rich html like iframe, forms etc while saving. WordPress did this for security. But it restricts users from using many amazing functionalities of social network as they offer. Facebook provides Like button code in iframe format and as javascript. We can’t use it in wordpress.com. Getsociallive provides a service for Like buttons. It gives a Like button. And on click, it goes to a Getsociallive page. The destination page has Like button service + Adds. It’s OK, but I thought a Facebook page will do better. So replaced the destination link of Getsociallive code with the Facebook Like service link. Resulting code for my site is
<p><a title="Like This!"href="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshijitht.wordpress.com%2F&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0"style="border:none; overflow:hidden;width:450px; height:80px;" rel="nofollow" target="_blank"><img style="border:0;margin:0;padding:0;"src="http://getsocialserver.files.wordpress.com/2010/08/gslk2.png"width="49" height="23" alt="Like This!" /></a></p>
Replace shijitht.wordpress.com in the above code with your site address to make it yours. If you like, you can generate code at http://developers.facebook.com/docs/reference/plugins/like. Put the code in the text widget and add it to sidebar to get a Like button like mine.



[...] This post was mentioned on Twitter by Alltop Facebook, Shijith T. Shijith T said: Facebook like button: http://wp.me/pKpVe-3l [...]
Tweets that mention Facebook Like button for site | Empty cup -- Topsy.com
August 7, 2010 at 3:13 pm
[...] Facebook Like button for your site August 2010 1 comment and 4 Likes on WordPress.com 5 [...]
2010 in review « The Sandbox
January 2, 2011 at 6:39 pm
I’ve created a way to have the Facebook like button and the Facebook share button at the bottom of a WordPress.com post…at the same time.
Here is the link below. Enjoy!
http://en.forums.wordpress.com/topic/its-possible-facebook-share-and-like-buttonsat-the-same-time?replies=61
Erik
February 20, 2011 at 5:53 am