In the process of configuring a “Like” button to use across EMA’s sites, I decided to use the more-enhanced XFBML version over the
<iframe> version. One notable feature is the ability for users to add a comment after liking something. This causes the recommendation to show up on the user’s Facebook as a bigger, more informational wall post—not just a simple line item.
- (optional) If you want your page to validate, add these to your
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">