首先,我先解释一下今天的情况:
email, public_profile, pages_show_list, pages_read_engagement, instagram_basic,instagram_manage_insights考虑到这一点,这就是我的问题:连接到我的平台的一些用户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"
}
}
}
Run Code Online (Sandbox Code Playgroud)
有人知道这里发生了什么问题吗?
facebook-graph-api instagram facebook-opengraph instagram-api instagram-graph-api
instagram ×1