Facebook Connect 无法在 IE8 中运行

发布于 2024-10-06 20:21:39 字数 577 浏览 0 评论 0原文

我在 Facebook 上设置了 2 个应用程序。一份用于开发/测试,一份用于生产。使用 Firefox,我可以连接到它们,但使用 IE8,我只能连接到开发应用程序。当我尝试连接到生产应用程序时,输入凭据后,收到以下错误消息:

MyApp 发生错误。请稍后重试。

我的开发应用程序的站点 URL 是 http://localhost:8080/test/ 并且域为空。
我的生产应用程序的站点 URL 是 http://www.myapp.com。域是 myapp.com

FB.init 方法如下所示:

FB.init({
    appId: '${fbApplicationId}',
    status: true,
    cookie: true,
    xfbml: true,
    channelUrl: 'http://myapp.com/xd_receiver.jsp'
});

谁能帮我解决这个问题?

I have 2 applications set up on facebook. One for development/testing and one for production. With Firefox I can connect to both of them but with IE8 I can connect only to the development app. When I try to connect to the production app, after entering the credentials, I get the following error message:

An error occurred with MyApp. Please try again later.

The site URL of my development app is http://localhost:8080/test/ and the domain is blank.
The site URL of my production app is http://www.myapp.com. and the domain is myapp.com

The FB.init method looks like this:

FB.init({
    appId: '${fbApplicationId}',
    status: true,
    cookie: true,
    xfbml: true,
    channelUrl: 'http://myapp.com/xd_receiver.jsp'
});

Can anyone help me with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吲‖鸣 2024-10-13 20:21:39

仔细检查 Facebook 上的侧域和站点 URL。此错误通常意味着您的站点 URL 与您尝试连接时所在的站点 URL 不同。

尝试更改 xd_receiver 的 URL,将“www.”添加为 http://www.myapp.com /xd_receiver.jsp

Double check the Side Domain and Site URL on Facebook. This error usually means your site URL is different from the one you are on while trying to connect.

Try to change the URL of the xd_receiver, add "www.", to http://www.myapp.com/xd_receiver.jsp

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文