Facing troule in login through FACEBOOK.

Hello All,

For my website I have been using the following code to login through facebook account:

[php]$user = $facebook->getUser();

if ($user) {
try {
$user_profile = $facebook->api(’/me’);
} catch (FacebookApiException $e) {
echo ‘

’.htmlspecialchars(print_r($e, true)).’
’;
$user = null;
}
}[/php]

Initially it was working fine and was redirecting me to the website without any difficulty.

From past 1 month it is creating problem and not working properly. I have changed the code as following.

perms-> scope

oauth: True

But the code is only working fine with the browser google Chrome. When it comes to Mozilla it is showing an error. In Mozilla it is trying to redirect,but a blank
page is coming and will be there until we will not refresh the page. Even we are unable to track the facebook email.

What error is given on Mozilla Firefox?

Sponsor our Newsletter | Privacy Policy | Terms of Service