Instagram 的错误处理 API

Error Handling for Instagram API

我正在尝试从旧 Instagram 迁移到新 Instagram API。 图 API 有此 page 用于错误处理,但我找不到 Instagram API.

的相应页面

我认为两个 API 使用相同的错误代码,但一些 Instagram API 错误代码未记录在图表中 API

例如:

curl -i -X GET \
 "https://graph.facebook.com/v2.12/17841407629754967?fields=business_discovery.username(sdfsdf)%7Bid%2Cfollowers_count%2Cmedia_count%2Cbiography%2Cwebsite%2Cusername%7D&access_token="

回复:

{
  "error": {
    "message": "Invalid user id",
    "type": "OAuthException",
    "code": 110,
    "error_subcode": 2207013,
    "is_transient": false,
    "error_user_title": "Cannot find User",
    "error_user_msg": "The user with username: sdfsdf cannot be found.",
    "fbtrace_id": "ChYJVqBQTRd
"
  }
}

一般 Instagram API 文档看起来很“差”。你怎么看?错误处理页面隐藏在某处或尚未发布?

ps:声援受到 facebook 最近变化影响的每一位开发者

我认为这个错误意味着 "non-business account"。非企业帐户无法通过企业发现访问。 存在个人 Instagram 个人资料 sdfsdf.