仅限 IE8 (Internet Explorer) 的问题
在我的网站上,我实现了 Facebook 登录按钮,它在除 IE 之外的所有浏览器上运行良好。不知道为什么在 IE 上它不能很好地工作。您可以在我的网站 http://colnect.com 的主页上看到它损坏,并出现以下 Javascript 错误:
Message: Unknown runtime error
Line: 43
Char: 729
Code: 0
URI: http://connect.facebook.net/en_US/all.js
在两个具有完全相同 FBML 代码的其他页面 http://colnect.com/en/account/create和 http://colnect.com/en/sfGuardAuth/signin 按钮出现并且运行良好。
有什么想法吗?
On my site I've implemented Facebook login button and it works well on all browsers except IE. Not sure why on IE it doesn't work well. You can see it broken on the main page of my website http://colnect.com with the following Javascript error:
Message: Unknown runtime error
Line: 43
Char: 729
Code: 0
URI: http://connect.facebook.net/en_US/all.js
On two other pages with the exact same FBML code http://colnect.com/en/account/create and http://colnect.com/en/sfGuardAuth/signin the button appears and works well.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将其添加到您的文档中:
Add this to your document:
我遇到了同样的问题,因为我将“fb:login-button”放在“a”标签内。如果 fb 按钮位于另一个元素内,请尝试保留它。
I had same problem because I put "fb:login-button" inside an "a" tag. If you have the fb button inside another element, try to leave it.
我刚刚看到了同样的事情< curse_m$_ie 标签>并能够通过正确连接通道文件来修复它。来自 https://developers.facebook.com/docs/reference/javascript/:
好的,所以我认为他们的意思是在其前面添加一个
http:
,无论如何,这就是我让它工作的方法。然后,您需要在FB.init
中引用通道文件 - 好吧,请参阅他们的页面,但通常是:希望这对现在正在为此烦恼的人有所帮助。希望它对我以外的其他人也有效!
哦,还刚刚发现了这个主题的链接: http: //blog.tiecliphq.com/2011/06/ie8-facebook-xd-proxy-fix.html
I just saw the same thing < curse_m$_ie tag > and was able to fix it by properly hooking up a channel file. From https://developers.facebook.com/docs/reference/javascript/:
Ok, so I think they meant to add a
http:
at the front of that, anyway, that's what it took for me to get it working. Then you need to reference the channel file in yourFB.init
- well, see their page for this but it's generally:Hope this is helpful to whoever is pulling their hair out on this right now. And hope it works for others besides me!
Oh, also just found this link on the subject: http://blog.tiecliphq.com/2011/06/ie8-facebook-xd-proxy-fix.html