Facebook应用程序只能在IE9中显示 [英] Facebook app cannot be displayed in IE9 only
问题描述
我有一个Facebook应用.问题是它不会在IE9中加载(未在其他版本的IE中进行测试).打开画布页面时,它将显示以下消息:
I have a facebook app. Problem is that it does not load in IE9 (did not test with other versions of IE). It displays the following message when opening the canvas page:
"此内容无法显示在框架中 为了帮助保护您输入该网站信息的安全性,该内容的发布者不允许将其显示在框架中."
"This content cannot be displayed in a frame To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
但是,它在Chrome,FF和Safari中可以正常运行.
It however works fine in Chrome, FF and Safari.
我的画布页面URL和页面标签URL很好,正如我所说,它可以在所有其他浏览器中使用.
My canvas page URL and page tab url's are fine, and as I said, it works in all other browsers.
我知道这个问题含糊不清,但任何帮助都将不胜感激.我无法在此处发布我的代码,因为它是很多代码,并且有很多链接到的外部文件.
I know the question is vague, but any help would be appreciated. I cannot post my code here, cause it is A LOT of code and has a lot of external files it links to.
有什么建议吗?
谢谢
推荐答案
您是否在应用程序中使用PHP? 如果是,请将其放在代码的顶部: header('P3P:CP ="NOI ADM DEV PSAi COM NAV OUR OTRO STP IND DEM"'); 希望对您有所帮助.
Are you using PHP for the app? If yes, put this at the top of the code: header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"'); Hope that helps.
这篇关于Facebook应用程序只能在IE9中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!