Unsupported get request. Object with ID 'xxxx' does not exist i am use endpoint https://graph.facebook.com/v6.0/xxxx
1

why the api facebook response me: Unsupported get request. Object with ID 'xxxx' does not exist i am use endpoint https://graph.facebook.com/v6.0/xxxx , but for some users the api answers me correctly : "first_name": "xxx", "last_name": "xxx", "profile_pic": "xxxx", "id": "xxxx"
and for some users the api answers me Unsupported get request. Object with ID 'xxxx' does not exist, thanks in advance

Jeison
Asked about 3 years ago
Selected Answer
1

I made it, i could solve the problem, to get to user that send the message is done you have to use the follow endpoint https://graph.facebook.com/vx.0/IDMESSAGE?fields=message,attachments,created_time,to,from&access_token=token, and the request response would { "message": "xxxx", "created_time": "xxxxx", "to": { "data": [ { "name": "xxxxx", "email": "xxxxx", "id": "xxxxx" } ] }, "from": { "name": "xxxxx", "email": "xxxx", "id": "xxxx" }, "id": "xxxxx" } you can see the property from, is the message user. in my case the message id start with m_-mmKbiFxxxxxxxx The method request is GET and remember.

February 23 at 6:34 AM
Jeison
Selected Answer
1

same here. I get all of my media id's.Then trying to get info about the media.

This code works:

id1?fields=media_url

This code does not work:

id2?fields=media_url

The IDs must be correct, cause I got them from the API Call media.

I got all the permissions of the user.

February 19 at 3:17 PM
David
David

cannot post the ids so i just replaced them

February 19 at 3:17 PM
Twinozaka

Can you explain anything more?

February 22 at 9:33 PM
Twinozaka

I can't solve this problem.

February 22 at 9:34 PM
David

hey, i made it. I saved the id as a number but the number was out of range. Just save it as a text and it works

February 23 at 1:43 AM