加载Iframe Facebook(X-Frame选项被拒绝) [英] Loading Iframe Facebook (Load denied by X-Frame-Options)

查看:437
本文介绍了加载Iframe Facebook(X-Frame选项被拒绝)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队负责Facebook上的一个应用程序的一些困难。我们相信这在加载iframe时发生了一些错误。我们通过Firebug发现了这个错误:

My team is in charge of some difficulties with an app on Facebook. We believe this occurred some error in loading the iframe. We discovered this error through Firebug:


X-Frame-Options被拒绝加载: https://www.facebook.com/dialog/oauth?client_id=140656472747871&redirect_uri=https%3A%2F%2Fnuvemapps.com.br%2Fci %2Fncupons%2Fhome%2F%3Ffb_source%3Dsearch%26ref%3Dts%26fref%3Dts& state = 32e667a3645c047d751d20811d49ef6b& req_perms = email%2C + publish_steram%2C + manage_pages 不允许框架。

这主要发生在不允许应用程序的人身上,所以我们不知道这个问题在哪里开始。我们还有三个可能的原因:

This happens mainly with people who have not allowed the app, so we do not know specifically where this problem is starting. We still have three possible causes left:


  • 服务器配置

  • 我们的编码问题

  • 或者在我们的设置中的Facebook应用程序开发

任何人都可以帮助识别此错误?

Can anyone help in identifying this error?

以下是该应用的链接:
https:// apps.facebook.com/cupomigo

Here is the link to the app: https://apps.facebook.com/cupomigo

推荐答案

我遇到了同样的问题,当我使用target =_ top的链接,它现在正在正常工作。

I got the same issue, and it got fixed, when i used target="_top" for the link , and it is now working perfectly.

谢谢

这篇关于加载Iframe Facebook(X-Frame选项被拒绝)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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