Facebook图表 - 不支持的获取请求 - 页面 [英] Facebook Graph - Unsupported get request - Page

查看:181
本文介绍了Facebook图表 - 不支持的获取请求 - 页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Facebook Graph API和某些页面有问题。例如 115184661826036,299277891520

I have a problem with the Facebook Graph API and some Pages. e.g. 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

这是错误:

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


推荐答案

p>这是因为页面是受年龄限制的(类别是Wine / Spirits)。您需要传递用户访问令牌,以便Facebook Graph API可以确定您是否有资格查看该页面的内容。

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.

请参阅

  • 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).

这篇关于Facebook图表 - 不支持的获取请求 - 页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆