OK, a bit of a strange issue but I will try and explain it best I can!

Currently I have an application setup that will only ever be seen within a Facebook page tab (ie the site is never seen via the web or even via the actual canvas page - always within the 520px tab of a Facebook page).

The only issue I am having is within Internet explorer when the app tries to auto-login via FB Connect the entire iFrame redirects outside of facebook to the website URL.

The user journey is as follows:

1. User clicks my applications link on the facebook page
2. The tab loads up /unauthorized (custom page which introduces people to the app, this page contains a button which fires off the authentication for the app.
3. Once the user has authorized - they are redirected back to the facebook page (/unauthorized).
4. Conditional logic within a custom module hook_fb for when the app is authorized which redirects the user to (/home) via: self.location= base_path() .'home'
5. After these steps - the app then seems to delay whilst the facebook user data is pulled through - it is then that it pings off to the site page rather than staying within the Tab.

Any ideas?

Comments

Anonymous’s picture

Adding the following to the end of the settings.php file seems to have fixed the issue:

header('P3P: CP="CAO PSA OUR"');
Anonymous’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

egarias’s picture

This fixed the issue for me.