使用Facebook Graph API权限的Instagram API
我正在尝试开发一个使用Facebook Graph Instagram API的Instagram洞察的简单平台,并且无法获得访问我的instagram业务页面的正确权限。我目前的设置将我的Instagram业务页面与我的脸书业务页面连接起来,并使用两者的共享广告帐户。使用Facebook Graph API权限的Instagram API
当我提出这个要求,以抓住从使用Graph API浏览器Facebook企业页面(文档here中看到的)的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"
}
}
的documentation引用需要对这些权限之一:
- 个
instagram_basic
instagram_manage_comments(可选)
instagram_manage_insights(可选)
但也有在图形探险任何这些权限的任何选项(见下图)。解决我的问题的方法是如何对我的应用程序进行身份验证,以便我有权从Instagram业务页面获取Instagram信息?
我不认为这个API是公开的,只是还没有,看起来像你需要一个FB营销或Instagram的合作伙伴:https://developers.facebook.com/bugs/118963648734367/
https://business.instagram.com/blog/new-instagram-api-features/
不幸的是,这也是我也来到的答案。当API公开时,会更新我的答案 –
您使用Facebook登录。 – WizKid
@WizKid [此](https://developers.facebook.com/docs/facebook-login/permissions/overview)有关Facebook登录权限的文档没有提及instagram_basic,instagram_manage_comments或instagram_manage_insights,当它们是以字符串形式编码,导致无效范围错误 –