在iframe应用中使用Facebooker嵌套iframe [英] Getting nested iframes with Facebooker in iframe app

查看:462
本文介绍了在iframe应用中使用Facebooker嵌套iframe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人在他们的Rails / Facebooker应用程序中遇到过嵌套的iframe?
基本上,每次点击动作或链接时,整个Facebook页面都会重新加载到我现有的iframe中,导致两个(以及每次后续点击时更多)facebook边框出现。

Has anyone encountered nested iframes in their Rails/Facebooker application? Basically, every time I click an action or link, the entire facebook page reloads inside my existing iframe, causing two (and more on each subsequent click) facebook borders to appear.

我已经完成了三次指示并更改了可以想象的每个设置,但应用程序仍然在iframe内的新Facebook页面中打开。有什么想法吗?

I've gone over the instructions three times and changed every setting imaginable, but the app still opens up in new facebook page inside the iframe. Any ideas anyone?

当我使用

ensure_application_is_installed_by_facebook_user

过滤,但如果用户已经安装了应用程序,我使用

filter, but if the user already has the application installed and I use the

ensure_authenticated_to_facebook

filter,它工作正常......非常奇怪(至少对我来说)

filter, it works fine...very strange (to me at least)

推荐答案

原因是由于Facebook的变化,不推荐使用ensure_application_is_installed_by_facebook_user API。
我计划很快用这些信息更新Facebooker文档。

Turns out ensure_application_is_installed_by_facebook_user is deprecated because of a change in Facebook's API. I plan to update the Facebooker documentation with this information soon.

这篇关于在iframe应用中使用Facebooker嵌套iframe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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