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

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

问题描述

我的团队负责解决 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 拒绝:

Load denied by 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 does not permit framing.

这种情况主要发生在不允许使用该应用程序的人身上,所以我们不知道这个问题具体是从哪里开始的.我们还剩下三个可能的原因:

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 app dev 中

谁能帮忙找出这个错误?

Can anyone help in identifying this error?

这是应用程序的链接:https://apps.facebook.com/cupomigo

推荐答案

我使用了 target="_top" 作为链接,现在完美运行.

I used target="_top" for the link, and it is now working perfectly.

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

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