facebooker iframe 的重定向错误和递归登录屏幕/身份验证屏幕问题
我正在使用 http://github.com/mmangino/facebooker 中的 facebooker gem 来开发 Rails 2 Facebook 应用程序(iframe)。我想知道这是否是 facebooker 的错误:
当我
ensure_application_is_installed_by_facebook_user
在应用程序控制器中使用时,iframe 会在无限循环中渲染。我发现在vendor/plugins/facebooker/lib/facebooker/rails/controller.rb第63行request_is_facebook_iframe?从未输入我的 iframe 应用程序。似乎 params["fb_sig_in_iframe"] 始终未设置。
这是 facebooker 的问题还是我错过了什么?
i am using the facebooker gem from http://github.com/mmangino/facebooker for developing a rails 2 facebook application (iframe). i am wondering if this is a bug from facebooker:
when i am using
ensure_application_is_installed_by_facebook_user
in the application controller, the iframe gets rendered in an infinite loop. i found out that in vendor/plugins/facebooker/lib/facebooker/rails/controller.rb line 63 the request_is_facebook_iframe? is never entered for my iframe app. it seems that params["fb_sig_in_iframe"] is always not set.
is this a facebooker problem or did i miss something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不知道您是否得到了答案,但为了避免无限帧循环,您应该使用
而不是
这里有一个关于设置 iframe facebook 应用程序的很好的教程:
使用 Ruby on Rails & 创建 Facebook (iFrame) 应用程序Facebook 用户
希望有帮助!
don't know if you got an answer but to avoid the infinite frame loop you should use
instead of
There is a good tutorial on setting up a iframe facebook app here:
Creating a Facebook (iFrame) app using Ruby on Rails & Facebooker
Hope that helps!