Tech Support Forum banner
Status
Not open for further replies.
1 - 3 of 3 Posts

·
Registered
Joined
·
1 Posts
Discussion Starter · #1 ·
Hello All,

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


$user = $facebook->getUser();

if ($user) {
try {
$user_profile = $facebook->api('/me');
} catch (FacebookApiException $e) {
echo '<pre>'.htmlspecialchars(print_r($e, true)).'</pre>';
$user = null;
}
}

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.
 

·
Manager, - Alternative Computing, - Design
Joined
·
6,514 Posts
Hi,

Can you tell me what the errors are that you are using, and it looks like php that you are using I just want to make sure that I am correct.
 
1 - 3 of 3 Posts
Status
Not open for further replies.
Top