简体   繁体   English

Internet Explorer中的PHP SDK + Javascript SDK问题

[英]PHP SDK + Javascript SDK problems in Internet Explorer

When using PHP SDK + Javascript SDK (for apprequests) Internet Explorer (version 9 - I also tried in 7 and also has problems with endless refreshing) is showing error all the time "To display the webpage again, the web browser needs to resend the information you've previously submited...". 当使用PHP SDK + Javascript SDK(用于请求)时,Internet Explorer(版本9-我也在7中尝试过,并且在刷新时也遇到问题)始终显示错误“要再次显示网页,网络浏览器需要重新发送网页您之前提交的信息...”。 Clicking retry just displays the same message again. 单击重试只会再次显示相同的消息。 If "FB.init" is removed from code, app works (but without apprequests,...). 如果从代码中删除了“ FB.init”,则应用程序可以正常工作(但没有请求,...)。

You can test this bug here: http://apps.facebook.com/testing-bugs/ 您可以在此处测试此错误: http : //apps.facebook.com/testing-bugs/

Or get the code which is used for this app (it is basically same as in SDK example) - http://www.mediafire.com/?y1314p8lz21krfd 或获取用于该应用的代码(与SDK示例中的代码基本相同)-http: //www.mediafire.com/?y1314p8lz21krfd

Just change those two in index.php: 只需在index.php中更改这两个:

'appId' => 'XXXXXXXXXXXXXXX',
'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXX',

Is there any fix for this or...? 是否对此有任何解决方法?...?

the code you are using for testing is for the facebook connect and you are using the facebook app . 您用于测试的代码用于facebook connect,并且您正在使用facebook应用 So download the code from below url and try this one: 因此,请从网址下面下载代码,然后尝试以下操作:

https://github.com/facebook/php-sdk https://github.com/facebook/php-sdk

您应该访问此站点http://www.fbrell.com/ ,看看他是如何做到的,我认为他正在做您想做的事情。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM