Integration of the Facebook Like Button in WordPress

I just integrated the new Facebook Like button on LeanEntrepreneur. You can find it at the bottom of each post.

If you take the code snippet from Facebook’s generator you will get a code for an individual page. If you like a universal WordPress implementation you can use this code (which I found here):

<iframe src=”<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show-faces=true&amp;width=500&amp;action=like&amp;colorscheme=light” scrolling=”no” frameborder=”0″ allowTransparency=”true” style=”border:none; overflow:hidden; width:500px; height:px”></iframe>

Hope you guys like it (and use it of course).