I use:
https://graph.facebook.com/<postid>
to view infos about a post placed on the Facebook wall by some users.
(postid = userid_postid, e.g. 25255265222_12622622626 so dont worry about the format).
I recieve following, but I´m sure the Post exists:
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Why do I get the Error message? Whats wrong?
thx 4 help
Neil
You can't access Users' posts without using an active access_token
Try:
https://graph.facebook.com/{User_ID}_{POST_ID}?access_token={Active Access Toke}
Or (Works as well):
https://graph.facebook.com/{POST_ID}?access_token={Active Access Toke}
PS: Did you use the Graph API Explorer?
Related
I use simple app but cannot understand next:
Opened 2 urls:
https://www.facebook.com/media/set/?set=a.675416519138045.1073741830.660049570674740&type=3
AND
https://www.facebook.com/joyasmariajose.valdivieso/media_set?set=a.383620231706322.80737.100001750452794&type=3
When I use Graph Exploder:
GET \675416519138045
return all information about album in this user
But When I try
GET \383620231706322
I can get only user_id and name. On the album have next error:
{
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"fbtrace_id": "Hb9lKBi2Wpz"
}
}
Question: What can be wrong with second url ?
Unsupported get request usually means that you can't access that resource without an Access Token, i.e. you don't have permissions to this object, as #CBroe said.
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 want to store information about photos of Facebook pages.
I use for example this call to the graph API: https://graph.facebook.com/328548953909061/albums?fields=count,id,name,cover_photo,type,photos{id,name,created_time,picture,source,link,likes}&$acces_token
Since a couple of weeks I get this error:
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
When I remove ",likes" from the url it works. Anyone knows what is going wrong here?
In your initial call you need add v2.1
https://graph.facebook.com/v2.1/328548953909061/albums?...
Additionally I would call the following.
https://graph.facebook.com/v2.1/328548953909061/albums?fields=count,id,cover_photo,type,photos{id,name,created_time,picture,source,link,likes.summary(true).filter(stream)}&access_token=...
Adding .summary(true) and .filter(stream) to the likes field will give you a Summary doc in the photo doc and Filter will force all the nodes in to the count. Facebook "hides" some nodes of low "Top Story" value.
I am facing a problem with Graph API Explorer, and I need to know if it's a known bug in the graph itself or whether something else is wrong.
When I try to get the posts of a page in the graph explorer, most of them show up but some do not although the post itself exists and I can access it in facebook itself.
For your better understanding of the problem here is an example-
593482174003200_649686581716092 gives me this-
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
While this http://www.facebook.com/593482174003200/posts/649686581716092/ shows me the actual post.
Thanks in advance.
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