
Since last Facebook Event, the F8, it becomes very easy to add the ‘Like’ button under any post on your blog or website.
Let’s see how to do that in a few words and less than 5 minutes.
In facts, go to http://developers.facebook.com/docs/reference/plugins/like and generate the code, regarding layout, colors…
Now, copy the code and simply paste it where you want to insert this feature on your page.
And that’s all !!
Impressive no ? Let see example just under this post ^^
Below, you can find the code to add in your wordpress blog.
And in a more general case, replace get_permalink() by your dynamic url.
<iframe src="http://www.facebook.com/plugins/like.php?href='.urlencode(get_permalink()).'&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:px"></iframe>


