Facebook页面标签iframe应用程序无法正常工作 [英] Facebook page tab iframe app not working

查看:140
本文介绍了Facebook页面标签iframe应用程序无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我按照所有其他问题的说明进行操作。

So I've followed the instructions in all the other questions.

我这样做了:

https://www.facebook.com/dialog/pagetab?app_id= YOUR_APP_ID& next = YOUR_URL

现在,当我点击页面标签链接(从管理员登录或不作为管理员)时,我只是得到一个空白页面。按预期转到facebook.com/mypage/app_{my_id}但没有做任何事情。

Now i just get a blank page when i click the page tab link (from admin login or not as admin). it goes to facebook.com/mypage/app_{my_id} as expected but does nothing.

所有链接https与否https工作精细!即使在页面设置/应用程序上,我也可以单击转到应用程序,它工作正常!

All the links https or not https WORK FINE! Even on the page settings/apps i can click "goto app" and it works fine!

我的应用程序设置中的页面选项卡设置不指向apps.facebook .com / myapp URL由另一个线程建议。它不是设置为FBML页面。

The page tab settings in my application settings do not point to the apps.facebook.com/myapp URL as suggested by another thread. It is NOT setup as a FBML page.

我有一段时间

App Temporarily Unavailable
Parse errors:
FBML Error (line 6): illegal tag "body"

然而,这是一个iframe应用程序,而不是FBML应用程序。

however, this is an iframe app, not an FBML app.

让我发疯,此处的所有其他问题都没有适当的解决方案。

Driving me crazy, all the other questions here have no proper solution for this.

有解决方案吗?我真的没有要发布的代码,因为除了页面选项卡选项之外,它可以通过任何方式正常访问应用程序。也就是说,该应用程序可以正常使用iframe应用程序,它只是页面标签网址没有进行最后一步。

Is there a solution? I don't really have code to post, as it works fine and dandy accessing the app from any means except the page tab option. That is, the app works fine as a normal iframe app, it's just the page-tab URL is not making the last step.

这是应用程序设置。显然没有设置为FBML。

Here is the app settings. It is clearly not set to FBML.

推荐答案

我几乎100%确定这是FBML设置,检查这些设置的两个是不是设置为FBML - 除非您可以提供应用程序ID进行检查,否则没有人可以给出绝对100%肯定的答案

I'm almost 100% sure this is the FBML settings, check both of these settings for the app are not set to FBML - unless you can give us the App ID to check, nobody can give an absolutely 100% sure answer

1)在高级选项卡上,设置对于'画布模式' - 对于2011年3月之后创建的应用程序不会出现这种情况

1) On the 'advanced' tab, the setting for 'canvas mode' - this will not appear for apps created after March 2011

2)高级选项卡的迁移设置中有页面标签iframe的设置。这可以控制FBML是否与应用程序的页面选项卡一起使用 - 如果设置为禁用,则应用程序仍在使用FBML作为其页面选项卡

2) There was a setting for 'Page Tab iframe' in the 'Migrations' setting of the Advanced Tab. This controls whether or not FBML is used with the page tabs of your app - if set to disabled, the app is still using FBML for its page tabs

您还可以通过API查看第二个设置,对于我的示例应用程序,可以通过调用/ APPLICATION_ID /?fields = migrations& access_token = APP_ACCESS_TOKEN来检索画布设置

You can also check second setting via the API, for my example app there, the canvas setting can be retrieved via a call to /APPLICATION_ID/?fields=migrations&access_token=APP_ACCESS_TOKEN

返回值是一个结构应用可以设置的迁移及其值:

The return value is a structure of the migrations the app can set and their values:

{
  "migrations": {
    "secure_stream_urls": false, 
    "expiring_offline_access_tokens": false, 
    "december_rollup": false, 
    "page_tab_iframe": false, 
    //[ SNIPPED OTHER MIGRATIONS ]
  }, 
  "id": " // SNIPPED APP ID", 
  "type": "application"
}

这篇关于Facebook页面标签iframe应用程序无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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