skip to Main Content

We’ve allowed sign up/access to our website using Facebook Login for a long time. Two days ago, after upgrading to graph api 2.10, this stopped working for a portion of our users. Myself and most others are unaffected.

The error message received in the Access Token response reads “Cannot call API on behalf of this user”.

I can’t find anything in the 2.9 -> 2.10 changelog that mentions anything remotely connected to this problem, and I’ve found very little on this issue externally.

A few posts suggests that it might have something to do with insufficient privacy policy settings in our Facebook app settings, but everything is in place expect the non-mandatory Data Deletion Request URL. The fact that it also works perfectly fine for me as an EU citizen (affected by GDPR) says to me that it’s something else. We do not have any country restrictions in place, and those who are affected by this comes from a variety of countries both inside and outside of the European Union.

Does anybody recognize this problem?

2

Answers


  1. I ran into the same problem, also after an update (from 2.9 to 3.1). The fix for me was to remove location restrictions within the facebook console (Settings > Advanced > App Restriction > Contry Restricted):

    location restriction


    I got this idea from a comment on this similar question, and this google group thread.

    Login or Signup to reply.
  2. ref: https://developers.facebook.com/docs/audience-network/optimization/apis/FB-login-Reporting-API

    sounds like the app type should be Business

    today I meet this error, follow above document, I new create a business app, then error be resolved.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search