Facebook FBML Tags Fail to Load in IE

Today I learned that Internet Explorer’s support for custom tags requires that a namespace be defined for the tag, otherwise the custom tag is ignored. This is particularly problematic for Facebook’s FMBL tags which are used in place of iframes to include plugins such as the Like Button, Comments, and Like Box.

The solution is simple. One need only declare the namespace for the FBML tags in the <html> tag, like so:

<html xmlns:fb="http://www.facebook.com/2008/fbml">

That’s it. Now FBML tags are parsed properly by Facebook’s JavaScript SDK.

Add a Facebook Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>