skip to Main Content

I want to use User Profile API from Facebook to get customer user data (first name, last name, picture). My app is reviewed, my app is connected to fanpage, i have pages_messaging and other permissions active. Webhooks are working correct, i receive messages from user and i can respond to them, yet when i use PSID from webhook and use it on this endpointhttps://graph.facebook.com/v9.0/{PSID} i get this error:

"error": {
"message": "Unsupported get request. Object with ID 'XXXXX' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33}

Am I missing some permissions? Bad app/page configuration? I’ve been trying to find something in documentation but right now i’m defeated by it.

5

Answers


  1. Chosen as BEST ANSWER

    I solved the problem with getting additional permission Business Asset User Profile Access (api 8.0+).


  2. I had the same issue, one probable reason is that you need to pass the account ID with ‘act_’ at the beginning of it so it becomes ‘act_XXXXX’.

    Login or Signup to reply.
  3. There can be multiple reasons to it, you need to check the status of your account by visiting the Alerts Page on this url: https://developers.facebook.com/apps/<APP_ID>/alerts/inbox/?business_id=<BUSINESS_ID&gt;

    This alert page would show you the issue/permissions denied, for example:
    enter image description here

    Login or Signup to reply.
  4. I was having the same issue, the main reason is that you need to pass the account ID starting with

    'act_'
    

    at the beginning
    of it so it becomes

    'act_XXXXX'
    

    This resolved my issue. Hope so resolves everyone’s who is coming to find solution for it.

    Login or Signup to reply.
  5. Looks like you cannot make this request on behalf of Test User. If it is your case, try to make a call from Tester’s Role user account instead.

    For real life application you need Business Asset User Profile Access

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