Facebook graph api 调用业务发现API时Facebook Graph API返回错误

Facebook graph api 调用业务发现API时Facebook Graph API返回错误,facebook-graph-api,Facebook Graph Api,当我调用api时: graph.facebook.com/userid?fields=business_discovery.username(name){followers_count,media_count} 在Graph API explore中,我得到一个无效的参数错误: (#100)尝试访问节点类型(用户)上不存在的字段(业务发现) 有人能解释一下我在API url中遗漏了什么吗 谢谢 这只适用于Instagram商业帐户,但您似乎使用的是普通用户id 如前所述 Instagram平

当我调用api时:

 graph.facebook.com/userid?fields=business_discovery.username(name){followers_count,media_count}
在Graph API explore中,我得到一个无效的参数错误:

(#100)尝试访问节点类型(用户)上不存在的字段(业务发现)

有人能解释一下我在API url中遗漏了什么吗

谢谢


这只适用于Instagram商业帐户,但您似乎使用的是普通用户id

如前所述

Instagram平台API帐户ID不能与新Instagram Graph API一起使用。请使用页面节点确定与Facebook页面关联的正确Instagram商业帐户ID


您不能将其用于其他类型的Instagram帐户,只能用于商业帐户。

是的,我现在明白了,但我尝试使用另一个帐户ID,但仍然出现错误。检查此帐户:这是您的帐户开始吗?您执行此请求的用户节点需要是您自己的Instagram业务帐户。不,这是一个差异帐户,但也是一个Instagram业务帐户。您能告诉我如何获取Instagram业务ID吗?我用了这个:
GET graph.facebook.com/134895793791914?fields=instagram\u business\u account
如果你没有该页面的管理员访问权限,我认为你无法获得这个。您是否需要instagram_basic、instagram_manage_insights、manage_pages或pages_show_list权限