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
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.
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.
cannot post the ids so i just replaced them
Can you explain anything more?
I can't solve this problem.
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