Facebook's documentation doesn't seem to cover it (https://developers.facebook.com/docs/reference/ads-api/custom-audience-targeting/).
Running:
https://graph.facebook.com/{audience_id}?method=DELETE&{access_token}
returns the following json:
{
"error": {
"message": "Unsupported delete request.",
"type": "GraphMethodException",
"code": 100
}
}
How can I do it, if possible?
The request did work for a different access_token. I must have had problems with the access_token permissions.
Related
Trying to get Instagram insights data through the Facebook API, and keep getting the same error message. I have all the necessary permissions required, auth tokens, etc, and nothing seems to change the response. Any ideas? Here's what I get back:
{
"error": {
"message": "(#100) Tried accessing nonexisting field (insights) on node type (InstagramUser)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "A7sn36A6aleX86dUNqQa3kx"
}
}
Appreciate your help!
i'm trying fb query search on postman
https://graph.facebook.com/pages/search?q=Facebook
&fields=id,name,location,link
&access_token={access-token}
and it returns this error
{
"error": {
"message": "(#100) Page Public Metadata Access requires either app secret proof or an app token",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "A0DGbr5CxQEimI0NDK9UyZj"
}
}
how do i fix this error? i'm new at consuming social media API, and i've got standard apps on developers.faceboook.com
I would like to be able to get all reviews that I have ever posted on Facebook. I have tried it via the Graph API Explorer with no success, in FQL Query:
SELECT review_id FROM review WHERE reviewer_id=me()
This returns an empty JSON object.
In Graph API me/reviewsreturns:
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Is it possible at all or am I wasting my time?
Thanks
How can I fetch age-restricted page using generic app token ?
Here is how I get app token
https://graph.facebook.com/oauth/access_token?client_id=1237603453455381&client_secret=3539257a5231e337bb26d110bfb5e500&grant_type=client_credentials
But when I attempt to call
https://graph.facebook.com/60409543921?access_token=1237603453455381|H4PkFBu2PlSzHHMLPvHcSt8Y9Os
I get error
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Is there workaround against it other than using my personal token on server ?
Following batch request doesn't work:
https://graph.facebook.com/?batch%3d[{%22method%22%3a%22get%22%2c%22relative_url%22%3a%22me%22}%2c%22{%22method%22%3a%22get%22%2c%22relative_url%22%3a%22me%2ffriends%3flimit%3d50%22}]%26access_token%3d
It has a valid access token & I have encoded it using UTF-8 to see if that works, but I get
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Can somebody please tell me if Graph API supports only GET for Batch requests? thanks in advance