首先,让我解释一下我今天的情况:
我有一个具有以下权限的访问令牌:instagram_manage_insights
public_profile、pages_show_list、pages_read_engagement、instagram_basic、有效的访问令牌H 212H 113我试图访问的帐户是业务帐户或内容创建者帐户H 214F 215>考虑到这一点,我的问题是:一些连接到我的平台的用户在我请求instagram_business_account时根本不返回/me/accounts。
我的请求是使用字段https://graph.facebook.com/v10.0/me/accounts ( id,name,instagram_business_account{id,biography,ig_id,followers_count,follows_count,media_count,name,profile_picture_url,username,website} )。
下面是一个示例结果,其中双方都应该返回instagram_business_account,因为它们都以商业帐户的形式连接到Facebook:
{
"data": [
{
"id": "xxxx",
"name": "xxxxx"
},
{
"id": "xxxxx",
"name": "xxxx",
"instagram_business_account": {
"id": "xxxx",
"biography": "xxxx",
"ig_id": 00000,
"followers_count": 0000,
"follows_count": 0000,
"media_count": 0000,
"name": "xxx",
"profile_picture_url": "xxxx",
"username": "xxxx"
}
}
],
"paging": {
"cursors": {
"before": "xxxx",
"after": "xxxx"
}
}
}有人知道这里发生了什么问题吗?
发布于 2021-07-01 20:35:47
我解决了问题。这是Facebook的问题,我们无能为力。Instagram是通过instagram_business_account在Facebook上连接的。如果此值不存在,则意味着帐户未正确连接。用户应该重新连接页面https://www.facebook.com/{id}/settings/?tab=instagram_management。
id值是查询结果中的值。第二个选择是转到Instagram,进入个人资料,点击“编辑个人资料”,在“页面”中,只需再次连接到Facebook。
这样你就能得到正确的结果。
https://stackoverflow.com/questions/67913916
复制相似问题