3

直到昨天,事情才发现。我正在开发一个简单的 Instagram 应用程序,我做了一个基本的登录流程。现在,当我尝试使用企业 facebook 帐户登录该应用程序时,我收到一条消息"You don't have any Instagram Business Accounts linked to a Page.",这很有趣,因为在企业帐户管理器中,在“Instagram 帐户”选项卡中,我列出了我的企业 instagram 帐户;试图删除它给了我一个信息:"This Instagram Account can't be removed because it's already linked to an Instagram business profile."。太好了,似乎它应该工作。不是但是,第二部分紧随其后。

我为 Instagram 基本显示 API 的 Instagram 帐户生成了一个访问令牌,查询节点https://graph.instagram.com/me,我得到了我的帐户 ID 作为响应。现在,我尝试使用 Graph API 查询用户https://graph.facebook.com/17841431928202825- 但作为回应,我得到:

{
   "error": {
      "message": "Unsupported get request. Object with ID '17841431928202825' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
      "type": "GraphMethodException",
      "code": 100,
      "error_subcode": 33,
      "fbtrace_id": "AwbBT4_pYZjEg5HbG1UHYPi"
   }
}

为此,我使用为 facebook 帐户生成的访问令牌。您知道为什么它在查询 API 和业务经理时都看不到我的帐户吗?

4

0 回答 0