Adding Facebook Social Plugins


Fresh out of Facebook's F8 conference, I have added two of the announced social plugins the blog: 1. The Like Box in the right column, which features an activity stream of the latest 'liked' 2. The Like Button with faces atop each post The Like Button allows readers to like content directly from the post and see friends who have done the same... all without directly "connecting with the Facebook". Simple integration and even simpler interaction. Of course, when something is 'liked' it then makes its way into the Facebook stream; and when enough people like an item, Facebook batches the story into the feed.

Facebook makes it very easy to grab and place the code. It is a simple, configurable iframe (or FBML) and you just need to point to the correct URL:

iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fryanspoon.com&layout=standard&show_faces=true&width=570&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:570px; height:px">