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
Related
I am trying get reach data for all campaign from insight API call. I used https://graph.facebook.com/v2.4/ACCOUNT_ID/insights?access_token=ACCESS_TOKEN&level=campaign&fields=reach&limit=50 .
But I am receiving error:
{
"error": {
"message": "(#-2) Server timeout. Please wait and retry.",
"type": "OAuthException",
"code": -2
}
}
I have all around 5000 campaigns.
I try to get shares object from messages sent between two users.
According to Facebook documentation I should use the method /{message-id}/shares
https://developers.facebook.com/docs/graph-api/reference/v2.2/message/shares
But when I tried this with an user with read_mailbox permission I get the following error :
{
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100
}
}
I use message's id retrieved with request /me/inbox
I am missing something ?
Use the following format /m_mid.$cAAGZr4WGacdkQBX_21eDtC3iV6w9/shares
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
Can someone help me with an answer?
Why some pages in Facebook Graph returns
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
page exists at: https://www.facebook.com/RoyalCaninRomania
and facebook graph return: http://graph.facebook.com/RoyalCaninRomania or graph.facebook.com/669235549759213
but in developer is all fine:
developers.facebook.com/tools/explorer/?method=GET&path=669235549759213
he generate graph.facebook.com/669235549759213 url, but this url generate error message in browser
Worked perfectly fine with me.
I believe this issue is closed.
here is the link : http://graph.facebook.com/v2.1/146337548715685
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.