Facebook XFBML not displaying in Internet Explorer 8

I put this test page to illustrate this problem: (dead link)

Every browser I tested worked, but in Internet Explorer 8. The odd part is that Internet Explorer 8 doesn't even report an error, WOW, and that’s something. So right now I'm stuck without work or debugging. What did I miss?

+7
javascript internet-explorer-8 facebook ie-developer-tools xfbml
source share
2 answers

So, for some reason, the xmlns attribute that I previously set to the HTML tag has disappeared, maybe I canceled things like crazy.

Here's how it should be if anyone encounters this problem:

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

<html xmlns: fb = "http://ogp.me/ns/fb#">

<head> </head>

<body>

<script src = "http://connect.facebook.net/en_US/all.js#xfbml=1">

</script>

<fb: like href = "http://www.facebook.com" send = "false" layout = "button_count" width = "500" show_faces = "true"> </ fb: like>

</ body>

</HTML>

Even this does not work in IE. It opens a popup url = http://www.facebook.com/connect/connect_to_external_page_reload.html and what it is. From debugging, I see that it does not collect xmlns. The same code works fine in FF and Chrome, and I can also see facebook on my wall, but not if I do it through IE.

0
source share

All Articles