Since late last year it is now possible to add Facebook Like buttons to Static FBML tab on your Facebook page. You can add as many as you like as long as the have a unique “xid” parameter for each like button. “returnurl” is the parameter for the URL you want users to like. The code for one like button looks like this:

// Code for my Like button

Showing only the Like button

Style sheet at the top has been added to hide elements which is included in the fb:comments set, this set displays Facebook’s comments functionality by default. Make sure to place the css above your FBML tags.

  • “.comment_body” displays the comments.
  • “.subtitle_left” displays a small Facebook icon with the text “Facebook social plugin” below the Like button.