Search code examples
facebookauthenticationfacebook-graph-apifacebook-oauthfacebook-login

Facebook login strangely failing in a page only on a single Chrome instance (mine)


I have an application on Facebook which has two pages, index.php and admin.php.

On Chrome on my Mac, when I open the application it shows index.php without errors, but when I try to visit admin.php it fails to recognize the login, i.e. when I call /me I get such an error "An active access token must be used to query information about the current user."

It works:

  • using FireFox with the same account on the same computer
  • on other computers with other accounts, both Macs and Windows using Chrome

I've emptied the cache and cleared the Facebook cookies to no avail, I even tried in "incognito mode". I'm completely clueless: what could ever cause such a localized problem?


Solution

  • Check that Chrome isn't blocking third party cookies - if so it may be blocking the cookie the Facebook SDK uses to store session info