Facebook app iframe won't attempt to load when logged in as page

北战南征 提交于 2019-12-07 17:56:00

问题


I have an app that shows up as an iframe on a Page. (Here's an example.)

  • If you view the app tab as a Facebook user, whether you have the app installed or not, everything works correctly.
  • If you view the app tab as a Facebook Page that has not installed the app, everything works correctly.
  • If you view the app tab as a Facebook Page that has installed the app, nothing displays. In fact, when sniffing the HTTP headers, it looks like no attempt is ever made to load the app URL.

Any idea what needs to happen on the Facebook side of the equation in order to have the tab at least make an attempt to load the app's page?

Thanks!


回答1:


This is now a desired behavior, once you trying to visit Application Tab by being logged in as Page you'll be prompted to use Facebook as regular user:

To access this page, you'll need to switch from using Facebook as your page to using Facebook as yourself.

BTW, this was described in bug Blank app page which is marked as fixed (and the described behavior sadly was a way to fix this)...



来源:https://stackoverflow.com/questions/7437263/facebook-app-iframe-wont-attempt-to-load-when-logged-in-as-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!