Facebook XFBML is not rendering in Internet Explorer 8

♀尐吖头ヾ 提交于 2019-12-04 05:03:22

So somehow the xmlns attribute that I had previously set to the HTML tag was gone, probably me undoing things like crazy.

Here is how it should be if anyone encounters this issue:

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

<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 is not working in the IE. It is opening a pop up url=http://www.facebook.com/connect/connect_to_external_page_reload.html and that's that. On Debugging I see it is not picking up the xmlns. Same code works fine in FF and Chrome and I am able to see on my facebook wall also but not if I do through IE.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!