• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1695
  • Last Modified:

Facebook Tab App iframe problem

Hello,

I'm coding a Facebook Tab App. So far it works, even if I hate to work with iframes. The problem is that when (in any section of my application) I'm hitting reload in browser, it loads the application's main page. I think that its normal as the browser loads the parent page. Is there any way to fix it? eg (best solution) to reload the iframe content, or at least a solution to turn of the reload button. I know that its nearly impossible as reloading is possible with right click and keypress combination too.

Thank you
0
ChrisTERiS
Asked:
ChrisTERiS
1 Solution
 
StephanLead Software EngineerCommented:
Im afraid its not possible in a easy way. Facebook uses the app info into the iframe. You could place a cookie/session in order to know which page was last visited. Also reloading inside your own app without reloading facebook, You loose the signed_request that facebook gives you, be aware of this.
0
 
ChrisTERiSAuthor Commented:
It's a Forum application (https://www.facebook.com/pages/SBulletin/232865860169600?sk=app_499443973417641), so in every page I'm including a global file which has the signed request.

Session/Cookie: Thought of it, but as I've removed them from my original PHP script, I didn't tried to add it again.

Finally I used a "fake" solution. I changed the title of each page (navigation menu) to be link to the same page. Maybe some users will see and use it.

Chris
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now