Facebook Connect / Graph - Internet Explorer中的问题:fb:login对话框(不关闭) [英] Facebook Connect / Graph - problems in Internet Explorer with fb:login dialog (not closing)

查看:165
本文介绍了Facebook Connect / Graph - Internet Explorer中的问题:fb:login对话框(不关闭)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让我的本地主机上的Facebook连接的东西。在FireFox和Chrome中,它的效果很好。在Internet Explorer中:

I am trying to get the facebook connect stuff working on my localhost. In FireFox and Chrome it works perfectly. In Internet Explorer:


  • 连接对话框中出现错误。这是:

  • an error appears in the connect dialog. This is:

无效参数
Facebook Connect跨域接收器URL( http ://static.ak.fbcdn.net/connect/xd_proxy.php# =安培; CB = f1e33405f2824e9&安培;来源= HTTP%3A%2F%2Flocalhost%2Ff78888c44d2c37&安培;关系=开瓶器&安培;运输=闪光&安培;帧= f144cb110fc0cc&安培;结果= xxRESULTTOKENxx )必须具有应用程序的连接网址( http:// localhost:8080 / )作为字首。您可以在应用程序设置编辑器中配置连接URL。

Invalid Argument The Facebook Connect cross-domain receiver URL (http://static.ak.fbcdn.net/connect/xd_proxy.php#?=&cb=f1e33405f2824e9&origin=http%3A%2F%2Flocalhost%2Ff78888c44d2c37&relation=opener&transport=flash&frame=f144cb110fc0cc&result=xxRESULTTOKENxx) must have the application's Connect URL (http://localhost:8080/) as a prefix. You can configure the Connect URL in the Application Settings Editor.

当验证成功将Internet Explorer重定向到本地主机上的页面时,即我的Facebook连接URL 。使用Chrome和Firefox可以关闭弹出窗口,并允许处理程序重新加载页面。

when the authentication succeeds Internet Explorer redirects in the popup to a page on localhost i.e. my facebook connect URL. With Chrome and Firefox it closes the popup and allows the handler to reload the page.

这是非常令人沮丧的,因为Chrome和Firefox的行为是完美的。请你提供一些建议 - 我真的很坚持这个。我的HTML代码如下:

This is very frustrating, as the behaviour in Chrome and Firefox is perfect. Please can you provide some advice - I really am stuck with this. My HTML code is below:

<html xmlns="http://www.w3.org/1999/xhtml" 
xmlns:fb="http://www.facebook.com/2008/fbml"
xml:lang="en" lang="en">

<fb:login-button></fb:login-button>


<div id="fb-root"></div>
        <script src="http://connect.facebook.net/en_US/all.js"></script>
        <script>
        FB.init({appId: 'MY_APP_ID', status: true, cookie: true,xfbml: true});
        FB.Event.subscribe('auth.login', function(response) {
                window.location.reload();
            });


        </script>

Thank you.


推荐答案

我认为这是一个在javascript的bug 论坛帖子中的详细信息。

I think this is a bug in the facebook javascript (details in the forum post).

我发现了一个解决方法:使用 http://127.0.0.1:8080/在浏览器中,而不是 http:// localhost:8080 / 似乎在Internet Explorer,Firefox的所有三个和Chrome。

I found a workaround: Using http://127.0.0.1:8080/ in the browser instead of http://localhost:8080/ appears to work in all three of Internet Explorer, Firefox and Chrome.

这篇关于Facebook Connect / Graph - Internet Explorer中的问题:fb:login对话框(不关闭)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆