Unsupported get request

I have a problem with the Facebook Graph API and some Pages. eg 115184661826036, 299277891520

  • In the Graph Explorer it works https://developers.facebook.com/tools/explorer
  • Directly from Graph it doesn't work http://graph.facebook.com/115184661826036
  • Here is the error:

    "error": {
      "message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
      "type": "GraphMethodException",
      "code": 100
    }
    

    This is because the page is age-restricted (category is "Wine/Spirits"). You need to pass a User Access Token so that Facebook Graph API can determine if you're eligible to view the Page's content.

    See

  • https://developers.facebook.com/docs/graph-api/reference/page#Reading
  • A user access token is needed to view fields from restricted pages that this person is able to view (such as those restrict to certain demographics like location or age, or those only viewable by Page admins).

    链接地址: http://www.djcxy.com/p/32556.html

    上一篇: 无法从Facebook获取消息附件和共享

    下一篇: 不支持的获取请求