Search code examples
ruby-on-railsiframefacebooker

Getting nested iframes with Facebooker in iframe app


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.

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?

itonly appears when I use the

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, it works fine...very strange (to me at least)


Solution

  • 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.