1

I am using faecbook's PHP SDK and the get_loggedin_user() api worked good in past several weeks, but just about 10 minutes ago - it consistently returns null - does anybody know whether facebook is experience an outage or there is any change with this API?

My site is heavily rely on the facebook API - so any hints is highly appreciate!

1 Answer 1

0

It means that user is logged out. You're using outdated version of PHP SDK, use new one instead

https://github.com/facebook/php-sdk/

you can use

$user = $facebook->getUser();

there

1
  • Genesis - thank you for your response. I'll take a look and update to the latest SDK.
    – Isaac Liu
    Sep 5, 2011 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.