EPQRS
EPQRS

Reputation: 1153

Unsupported get request in Facebook Graph API

For some reason my https://graph.facebook.com/210155825774263 returns an error :

{
   "error": {
      "message": "Unsupported get request.",
      "type": "GraphMethodException",
      "code": 100
   }
}

I tried other pages and IDs and it returns relevant (success) information.
At first I thought this was a code related error - only now I found out that this is a FB error. Is there a way to fix this inorder to get the page information in JSON format ?

Upvotes: 31

Views: 76810

Answers (7)

jklue
jklue

Reputation: 313

I just started getting this error when calling an Instagram feed. I had to replace my Instagram Basic Display app with a new app running the Instagram API, and the error was fixed.

In my case, I think it had to do with the Dec 4, 2024 Instagram Basic Display deprecation.

Upvotes: 0

bormat
bormat

Reputation: 1379

For me adding &limit=8 in the url solve the problem, I think there were just too much information to send, and this limitation seems to be only in dev mode. Of course for me it is 8 but for you it can be limit=1

https://graph.facebook.com/v6.0/{{pageId}}/feed?access_token={{your token}}pretty=1&fields=reactions.type\u002528LIKE\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528like\u002529\u00252Creactions.type\u002528LOVE\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528love\u002529\u00252Creactions.type\u002528WOW\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528wow\u002529\u00252Creactions.type\u002528HAHA\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528haha\u002529\u00252Creactions.type\u002528SAD\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528sad\u002529\u00252Creactions.type\u002528ANGRY\u002529.limit\u0025280\u002529.summary\u0025281\u002529.as\u002528angry\u002529\u00252Cfrom\u00252Ccomments.limit\u00252810\u002529.summary\u002528true\u002529\u00252Cmessage\u00252Cstatus_type\u00252Cobject_attachment\u00252Cmessage_tags\u00252Cpermalink_url\u00252C+attachments\u00257Btitle\u00252Cdescription\u00252Cmedia_type\u00252Cunshimmed_url\u00252Ctarget\u00257Bid\u00257D\u00257D&limit=8

Upvotes: 1

ben_joseph
ben_joseph

Reputation: 1681

I had this problem because i forgot to disable the sandbox mode. To disable it goto Settings->Basics->Sandbox Mode

Upvotes: 2

Ravi Kumar
Ravi Kumar

Reputation: 1943

enter image description here

1.admin panel click onEdit page(at the top right of the window) select edit setting

check Age restrictions : select 'Anyone (13+)'

 save change( as you can see in image)

Upvotes: 0

Tom Dx
Tom Dx

Reputation: 71

I had also encountered this problem, and it was because the Facebook page I was managing had "County Restrictions" set in the Manage Permissions menu. Once I removed this restriction, the graph error went away.

Upvotes: 7

Akhilraj N S
Akhilraj N S

Reputation: 9497

This error occur due to several problem in permissions of your page

1. go to edit page ->manage permission

check Age restrictions : 13+

2. go to basic information -> Start Type:: set to launched

Upvotes: 21

Anvesh Saxena
Anvesh Saxena

Reputation: 4466

The page you are having trouble with is not accessible without user access token or has some or the other restrictions which are resolved only when a user logs in.

Upvotes: 1

Related Questions