【问题标题】:(#100) Tried accessing nonexisting field (page_backed_instagram_accounts) on node type (Page)(#100) 尝试访问节点类型 (Page) 上不存在的字段 (page_backed_instagram_accounts)
【发布时间】:2018-07-20 02:05:19
【问题描述】:
根据Facebook documentation,当我使用页面令牌调用https://graph.facebook.com/v2.11/me/page_backed_instagram_accounts 时,我收到如下错误:
(#100) 尝试访问节点类型(页面)上不存在的字段(page_backed_instagram_accounts)
我已经检查了应用权限:manage_pages、publish_pages、ads_management 等等。
谁能帮帮我?
【问题讨论】:
标签:
facebook
instagram
facebook-php-sdk
facebook-page
【解决方案1】:
听起来您使用的是用户令牌,而不是页面访问级别令牌。
我使用类似的方法来获取页面支持的 Instagram 帐户的 FacebookId。
/me?fields=instagram_business_account,connected_instagram_account,instagram_accounts{id,username}
我建议使用token debugger 来查看访问令牌的详细信息。