I have two apps on facebook. In one, I can make API calls. In the other, I can not.
I checked the configuration and the settings are the same.
Can you help me?
Example: https://graph.facebook.com/860599774051206/?access_token=APP_ID|APP_SECRET
the error is:
{ “error”: { “message”: “Unsupported post request. Object with ID
‘860599774051206’ does not exist, cannot be loaded due to missing
permissions, or does not support this operation. Please read the Graph
API documentation at developers.facebook.com/docs/graph-api”,
“type”: “GraphMethodException”, “code”: 100, “fbtrace_id”:
“BRW7BqFeEER” } }
7
Answers
RESOLVED: Any app can change the user_id
In an app the user_id is 962084030569446, in the other 860599774051206
Thakns for all.
In my case – I had to use the app-id to get the list of pages using
me/accounts
.Once I identify the page that I want to post the message to, I have to use the page-id to feed
page-id/feed
.This solved the issue.
For example:
While unrelated to the OP problem I thought I would contribute, I got this error when posting to the Offline Events endpoint
https://graph.facebook.com/v2.8/<business_id>/events
. I had posted from a node.js app successfully, then when porting the approach to a .Net implementation in our Linnworks order management system, got this error.Turned out, I had mis-typed the access_token parameter that goes in the form data, i.e.
Should have been:
Getting the access_token field wrong in this way caused this ‘Object with ID does not exist’ which is a bit of a red herring. I guess that, once the access_token value was not provided, no objects could be enumerated in our account because the request didn’t authenticate in order to provide permissions, and so the object was ‘not found’
(you do not have to use NameValueCollection, this is just a by-product of me using the multipart post implementation suggested here Upload files with HTTPWebrequest (multipart/form-data))
i think post_id is wrong you can check it once
https://graph.facebook.com/860599774051206_4548643168486465/?access_token=APP_ID|APP_SECRET
https://developers.facebook.com/docs/graph-api/reference/v3.3/object/comments
use this api for replies to the post
You need to use GET request instead POST. Look at the documentation
I faced this issue when I was trying to post a response to an user from a page. I used the graph API me/accounts and got the list of pages. From there I retrieved the access_token of the page from which I’m going to post the response. I got the same error mentioned in the question.
The issue for me is the user account to which I was supposed to respond is locked due to security. This is the error I got from facebook when I tried to login
You can’t use Facebook at the moment
This is the error I got for the post api call
Once the account security is resolved, the issue is resolved.
In my case I needed to Complete Setup