tags:

views:

744

answers:

3

Hi, the iframe app that I have cause double facebook header to show when user is prompted to login or install.

This code basically caused it. FB.Facebook.requireLogin(function(exception){ });

How can I prevent that? I saw blog post about using javascript to do the redirect, but how can I do that?

Thanks, Tee

+1  A: 

use target="_parent" for any links that you have in your iframe application. that will definitely solve your problem.

Gaurav Sharma
whoah. thanks for this. was wondering how to solve this :)
pageman
A: 

Hey Gaurav, the issue is that the requireLogin function is from the facebook api. So I don't control the redirection.

If it's just an tag, yes using target="_parent" does fix it.

Any idea?

Thanks

teepusink
A: 

I'm having the same problem now. Any one know the solution?

oliodu

related questions