Facebook 评论在 Safari 的首次综合浏览中无休止地加载
我遇到了 Facebook 评论社交插件在首次加载页面时无法在 Safari 中加载评论的问题。发生的情况是显示前几条评论,并且加载栏永远停留在周围。如果刷新页面,所有评论都会正确加载。第一次看到问题后,很难让他们再次出现错误。但这是 Safari 用户经常遇到的问题。
在 Firefox、Chrome、IE 或 Opera 中不会出现此问题。最初我在 Chrome 中遇到了问题,但最近它们似乎神秘地停止了发生(即使清除缓存也没有效果)。
我能想到的唯一奇怪的事情是我手动调用FB.XFBML.parse();。除此之外,我在实现它时按照建议使用了 Facebook 的所有代码。这个问题是最近几个月才开始出现的。
错误发生时的屏幕截图如下:https://i.sstatic.net/H0fNF。 jpg
当页面刷新时,一切都会按预期进行。
I'm having problems with the Facebook Comments Social Plugin not loading comments in Safari on the first load of a page. What happens is the first couple comments show and the loading bar sticks around forever. If the page is refreshed all the comments properly load. Its hard to get them to bug again after the first time you see the issue. It's a problem occurring frequently with Safari users though.
This issues does not happen in Firefox, Chrome, IE, or Opera. Originally I was having problems in Chrome but they seem to have mysteriously stopped occurring recently (even clearing the cache has no effect).
The only weird thing I can think of is that I am manually calling FB.XFBML.parse();. Other than that I'm using all of Facebook's code as recommended at the time I implemented it. The problem only started occurring in the last few months.
A screenshot of how it looks when the bug occurs is here: https://i.sstatic.net/H0fNF.jpg
When the page is refreshed everything works as expected.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,想通了。这是由 Google Page Speed 引起的错误。一些 Facebook 脚本无意中通过他们的服务被代理,因此在某些浏览器中偶尔会崩溃。
Ok, figured it out. This was a bug being caused by Google Page Speed. Some of the Facebook scripts were being unintentionally proxied through their service and as a result would break occasionally in some browsers.