通过 Graph API - OpenGraphObjectRestrictions 获取 facebook 页面限制(国家、年龄)
Get facebook page restrictions (country, age) via Graph API - OpenGraphObjectRestrictions
有没有办法知道 Facebook 页面是否有年龄或国家/地区限制?
我在 Facebook 文档中找到了这个:OpenGraphObjectRestrictions
但是好像不行。我收到这样的错误:
{
"error": {
"message": "(#100) Tried accessing nonexisting field (age) on node type (Page)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "ALXe8MDbLtc"
}
}
提前致谢
Is there a way to know if a Facebook page has age or country restrictions ?
仅当您拥有该页面的管理员权限时;使用页面访问令牌,您可以读取当前页面设置,包括 AGE_RESTRICTIONS
和 COUNTRY_RESTRICTIONS
.
https://developers.facebook.com/docs/graph-api/reference/page/settings/
有没有办法知道 Facebook 页面是否有年龄或国家/地区限制?
我在 Facebook 文档中找到了这个:OpenGraphObjectRestrictions
但是好像不行。我收到这样的错误:
{
"error": {
"message": "(#100) Tried accessing nonexisting field (age) on node type (Page)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "ALXe8MDbLtc"
}
}
提前致谢
Is there a way to know if a Facebook page has age or country restrictions ?
仅当您拥有该页面的管理员权限时;使用页面访问令牌,您可以读取当前页面设置,包括 AGE_RESTRICTIONS
和 COUNTRY_RESTRICTIONS
.
https://developers.facebook.com/docs/graph-api/reference/page/settings/