我正在尝试使用新的Facebook Graph Instagram API开发一个简单的Instagram洞察平台,但无法获得正确的权限来访问我的Instagram商业页面。我的当前设置将我的Instagram商业页面连接到我的Facebook商业页面,并使用共享广告帐户进行管理。
当我使用Graph API Explorer(在文档这里中看到)发出此请求以获取来自Facebook商业页面的Instagram商业页面ID时:
我收到了错误提示:
当我使用Graph API Explorer(在文档这里中看到)发出此请求以获取来自Facebook商业页面的Instagram商业页面ID时:
/v2.10/{facebook_page_id}?fields=instagram_business_account
我收到了错误提示:
{
"error": {
"message": "(#100) No permission to access the Instagram account",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "CU9oNYEt2+q"
}
}
文档中提到需要以下权限之一:
instagram_basic
instagram_manage_comments(可选)
instagram_manage_insights(可选)
然而,Graph Explorer中没有这些权限的任何选项(如下图所示)。简而言之,我的问题是如何对我的应用进行身份验证,以获取来自我的Instagram商业页面的Instagram见解权限?