"instagram graph api" (#100) Tried accessing nonexisting field (business_discovery) on node type (URL)

huangapple go评论56阅读模式
英文:

"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"
}

希望这可以帮助您。

"instagram graph api" (#100) Tried accessing nonexisting field (business_discovery) on node type (URL)

英文:

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.

"instagram graph api" (#100) Tried accessing nonexisting field (business_discovery) on node type (URL)

huangapple
  • 本文由 发表于 2023年6月1日 15:20:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/76379535.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定