即使是google.com,Facebook页面标签也是空的? [英] Facebook page tab is empty even for google.com?

查看:155
本文介绍了即使是google.com,Facebook页面标签也是空的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天来,我一直在设计一个新的Facebook页面标签应用程序。无论我做什么,我看到一个空白的页面(相信我,我已经阅读了所有的谷歌可以找到的主题)。最后,我想我只需要看一些工作。所以,我设置了我可以想到的最基本的页面选项卡应用程序。它所做的只是尝试加载谷歌。以下是设置: http://cl.ly/1h0R2c3O1T3i1T1B422d 。没有什么了不起的

I've struggled with setting up a new Facebook page tab app for days. No matter what I do, I see a blank page (and believe me, I've read everything that google could find on the subject). Finally, I figured I just needed to see something working. So, I set up the most basic page tab app I could think of. All it does is tries to load google. Here's the setup: http://cl.ly/1h0R2c3O1T3i1T1B422d. There's nothing more to it.

您可以尝试将其安装到您自己的页面: https://www.facebook.com/dialog/pagetab/?app_id=389862364403147&next=http://google.com

You can try installing it to your own page: https://www.facebook.com/dialog/pagetab/?app_id=389862364403147&next=http://google.com

当你这样做的时候,我怀疑你会看到我看到什么...没有(除了熟悉的Facebook页眉和页脚)

When you do, I suspect you'll see what I'm seeing...nothing (except for the familiar Facebook page header and footer)

如果Facebook没有加载google.com,因为他们在战争,这里是我的真实应用程序的设置: http://cl.ly/2J2t3n3I1D1N262M1s0J

Just in case Facebook isn't loading google.com 'cause they're at war, here's the setup for my real application: http://cl.ly/2J2t3n3I1D1N262M1s0J

这是我试过的:


  1. 将代理使用到可公开访问的域。

  2. 确保为页面选项卡和安全页面选项卡使用绝对URL;

  3. 发送最简单的页面(我现在使用的facebook_channel页面只是由html和body标签包围的一些文本。

  4. 否使用html和body标签,并使用文本。

  5. 在https和http上创建服务器。

  1. Using a proxy to a publicly-accessible domain.
  2. Making sure to use absolute URLs for Page Tab and Secure Page Tab
  3. Sending the simplest page (the facebook_channel page I'm using now is just some text enclosed by html and body tags.
  4. Not using html and body tags, and just using text.
  5. Creating servers on https and http.

这些都不行。在此先感谢您的帮助。如果我有头发,我会撕掉它。

None of this works. Thanks in advance for your help. If I had hair, I'd be ripping it out.

推荐答案


当你这样做怀疑你会看到我看到的东西...没有(除了熟悉的Facebook页眉和页脚)

When you do, I suspect you'll see what I'm seeing...nothing (except for the familiar Facebook page header and footer)

获取然后更好地测试浏览器: - )

Get a better test browser then :-)

Opera给我以下消息,

Opera gives me the following message,


错误

Error

https://google.com/

网站不允许其内容在框架中显示。它必须显示在单独的窗口中。

The website does not permit its content to be displayed in a frame. It must be displayed in a separate window.

- 这是预期的,因为Google发送HTTP头 X框架选项:SAMEORIGIN

– which was to be expected, since Google sends the HTTP header X-Frame-Options: SAMEORIGIN

关于您自己的应用页面的问题 - 检查您的服务器日志,查看请求是否甚至出现在那里如果是这样,它是如何回答的。

Regarding your problem with your own app page – check your server logs, to see if the request even comes up there; and if so, how it is answered.

然后检查您的SSL证书是否有问题 - 例如,Firefox不会让您为本地测试添加例外网站如果显示在iframe中(应该会显示一条警告消息)。你可以在Facebook之外的独立测试页面上找到你的测试页吗?

Then check if there’s a problem with your SSL certificate – Firefox for example won’t let you add an exception for your local test site if it’s displayed in an iframe (should show a warning message though). Can you reach your test page outside of Facebook, stand-alone?

这篇关于即使是google.com,Facebook页面标签也是空的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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