hiprakhar
hiprakhar

Reputation: 1017

Facebook app loads fine in firefox but keeps reloading in internet explorer 7,8,9

please check my app here- http://apps.facebook.com/indianresults

This app is loading and working fine in firefox but keeps reloading in Internet Explorer. I am using a simple code:

$auth_url = "http://www.facebook.com/dialog/oauth?client_id="
            . $app_id . "&redirect_uri=" . urlencode($canvas_page)."&scope=$permissions";
$me = $facebook->api('/me');
if(!$me)
{
           echo "<br>I am about to reload<br>";

           echo("<script> top.location.href='" . $auth_url . "'</script>");
}

Would be grateful if someone can pin point the problem.

Upvotes: 1

Views: 1311

Answers (1)

fredrik
fredrik

Reputation: 13550

Try sending this header in the top off your document. Have helpt me with some similar IE specific problems when working with Facebook.

header('P3P: CP="CAO PSA OUR"');

Upvotes: 2

Related Questions