Topic-icon Facebook tab page uses desktop template if I visit the site and return

Active Subscriptions:

None
My facebook tab works, but if I visit the site from a link on the facebook page opening in a new window, and then close the window and return to my facebook page. Then, the next link I click will use the desktop template and not the facebook template.

In my case, that's pretty bad.
Any way to prevent that?
The topic has been locked.
Support Specialist
No, not really. Facebook loads your page within an iFrame. It's only the first load of the page that Facebook sends us information about the user (who they are, if they Like the page, if they're in a Page Tab or Canvas area, etc). We save that information, and as the user clicks around on the site, we use what was originally sent to us. If they leave the page and view in the live site, then we clear the information originally sent.. so that the correct live-site template is shown and JFBConnect basically doesn't interfere.

If the user goes through the path you mention, back in the FB Page, the live site template will show.

Hope that at least explains. Where possible, we'd recommend keeping the user in the Facebook Page, or not trying to get them to go back and forth between the two. We are looking into ways to re-get the information Facebook sends on that initial page load, but don't have any timeline on when that would be done.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Could you use some sort of get referer in your script to determine if the pageload was coming from facebook?
The topic has been locked.
Support Specialist
Facebook loads the site in an iFrame. On the first page load, the referrer tag is there (from Facebook). We use something like this already to detect the Facebook Page in general. However, as the user clicks around on the site though, the referrer would be from the previous page, which would be yours (inside the iFrame).

We do have a task to look into this further, but not sure if it's something we'll be able to easily fix.

Alex
The topic has been locked.