Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 681
EPQRS Avatar asked Dec 06 '12 08:12

EPQRS


People also ask

Is Facebook graph API deprecated?

API Version Deprecations: As part of Facebook's Graph API and Marketing API, please note the upcoming deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. August 25, 2021 Marketing API v9.

Is Facebook graph API restful?

If you ever wanted to query Facebook user information, publish content, and update information, the Graph API is the way to go. It can be accessed from practically any browser because it is a restful JSON API.


2 Answers

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

like image 160
Akhilraj N S Avatar answered Sep 26 '22 05:09

Akhilraj N S


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.

like image 30
Tom Dx Avatar answered Sep 25 '22 05:09

Tom Dx