I have a Facebook like button on my page using the XBFML tag. I think the code is working, because it works in Firefox without a problem.
But in IE 8 (running in IE 7 compliant mode), the button does not show at all.
If I switch it all to the iFrame version of the like button it all works. But when I go with the XBFML tag it does not work.
Anyone run into anything like this?
Try adding the xmlns attribute to the HTML document for the FB namespace:
xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/"
This is another case where Firefox is being too forgiving vs IE.
the attribute: xmlns:fb="http://www.facebook.com/2008/fbml" is mentioned as a "must be used" in the Facebook Connect documentation. Some pointers here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With