While working with the facebook api (to fetch data about a facebook page), I noticed the following error:
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
The request was properly made (e.g. /v2.0/JimBeam?fields=id
) with the fb api explorer, but it did not work.
A quick google search turned out multiple reasons, why it does not work.
- If the page is in sandbox mode, it will work if you are not in sandbox mode anymore.
- If the page is age restricted, you need an access token of a user, who is old enough to see the page.
- If the page is flagged as related to alcohol, you need also an access token of a user, who is old enough to see the page.
- Setting restrictions (like contains alcohol/18+) does not allow you to access restricted pages. So you always need a user access token.
Hopefully this helps somebody else, having the same issue!