【发布时间】:2012-02-01 17:45:16
【问题描述】:
我已经实现了我在我的网站中使用的 Facebook SDK。它适用于除 Safari 之外的所有浏览器,偶尔 Facebook 连接按钮不会加载。
查看 JS 错误,我收到以下消息。它们来自 all.js,这是 FB 的 JS 库。有人有什么想法吗?
The "fb-root" div has not been created. (all.js Line 3)
TypeError: 'undefined' is not an object (evaluating 'e.root.appendChild') (all.js Line 6)
【问题讨论】:
-
我要问....你的标记中有
id或fb-root的div吗?
标签: facebook facebook-graph-api safari