Facebook iframe中的OAuth对话框不起作用
该网页的问题是 https://apps.facebook.com/gentlemensbet/
'Begin Betting'按钮不会为任何人加载oauth屏幕。
The page is question is https://apps.facebook.com/gentlemensbet/ The 'Begin Betting' button won't load the oauth screen for anyone.
然而,如果您在新窗口中打开它,它似乎可以正常工作。
我找不到任何合理的解释,并且不知道如何解决这个问题。
However, if you open it in a new window, it seems to work just fine. I can't find any reasonable explanation for this behavior and don't know how to correct this.
将 target =_ blank
或 target =_ top
添加到您的定位标记中。
您正尝试在Facebook页面中的iframe中加载facebook网址。这是不允许的。
$ b
Add target="_blank"
or target="_top"
to your anchor tag.
You are trying to load a facebook URL in an iframe within a facebook page. That isn't permitted.
拒绝显示文档,因为X-Frame-Options禁止显示。
Refused to display document because display forbidden by X-Frame-Options.
是控制台中记录的错误。
这是针对点击劫持的预防措施。
is the error logged in the console. It is a preventive measure against click-jacking.
您的链接应该是: b
Your link should be:
<a class="btn btn-large btn-primary" href="https://www.facebook.com/dialog/oauth?..." target="_blank"></a>