英文:
"instagram graph api" (#100) Tried accessing nonexisting field (business_discovery) on node type (URL)
问题
当我尝试在Graph API Explorer上操作business_discovery API时,它返回以下错误。请教我如何使其正常工作。
{"error": {
"message": "(#100) Tried accessing nonexisting field (business_discovery) on node type (URL)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "A72pX1O2G5lr7lRTPV1aUCz" }}
我发送的请求来自business_discovery API页面,所以我认为它是正确的。
我的访问令牌类型是"Page",仍然有效。
(我的用户ID)?fields=business_discovery.username(bluebottle){followers_count,media_count}
我拥有以下权限:
- pages_show_listads_management
- business_management
- instagram_basic
- instagram_manage_comments
- instagram_manage_insights
- instagram_content_publish
- instagram_manage_messages
- pages_read_user_content
- pages_manage_engagement
英文:
When I try to operate business_discovery api on Graph Api Explorer it return following error.
Please teach me how to get it work.
{"error": {
"message": "(#100) Tried accessing nonexisting field (business_discovery) on node type (URL)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "A72pX1O2G5lr7lRTPV1aUCz" }}
the request i'm sending is from business_discovery api page so i belive it correct.
my access token type are "Page" and it still valid.
(my user ID)?fields=business_discovery.username(bluebottle){followers_count,media_count}
I have following permission
- pages_show_listads_management
- business_management
- instagram_basic
- instagram_manage_comments
- instagram_manage_insights
- instagram_content_publish
- instagram_manage_messages
- pages_read_user_content
- pages_manage_engagement
答案1
得分: 0
从文档 - IG用户业务发现中,端点是:GET /{ig-user-id}?fields=business_discovery.username({username})
。在这里,您需要使用IG用户ID - 一个与Facebook页面连接的Instagram Business或创作者帐户ID。要获取您的IG用户ID,您可以按照这里提到的步骤操作。
以下请求对我有效:
请求:
GET /17841448XXXX?fields=business_discovery.username(bluebottle){followers_count,media_count,name}
响应:
{
"business_discovery": {
"followers_count": 442424,
"media_count": 2074,
"name": "Blue Bottle Coffee",
"id": "17841401441775531"
},
"id": "17841448XXXXXXX"
}
希望这可以帮助您。
英文:
From Docs - IG User Business Discovery, The endpoint is: GET /{ig-user-id}?fields=business_discovery.username({username})
. Here, You need to use the IG User Id — an Instagram Business or Creator Account ID - that's connected to the Facebook Page. To get your IG User ID, you can follow the steps mentioned here.
The following request works for me:-
Request:-
GET /17841448XXXX?fields=business_discovery.username(bluebottle){followers_count,media_count,name}
Response:-
{
"business_discovery": {
"followers_count": 442424,
"media_count": 2074,
"name": "Blue Bottle Coffee",
"id": "17841401441775531"
},
"id": "17841448XXXXXXX"
}
Hope this helps.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论