1

我在 Facebook Developer 注册并设置了我的 instagram 应用程序,但我不确定在哪里可以找到我的客户 ID...我可以看到我的应用 ID、我的 Instagram 应用 ID 和我的客户密码,但我的“客户 ID”没有任何内容列出。其中之一实际上是我的客户 ID 吗?除了 Instagram Basic Display API,我还需要注册吗?

是否有任何文档分解每个 ID 的用途?

我在以下任何一个文档中都找不到任何内容:https ://www.instagram.com/developer/authentication/或https://developers.facebook.com/docs/instagram-basic-display-api/

4

1 回答 1

2

旧的 Instagram API 使用客户端 ID。对于新的 Instagram Graph API,您只需要 Instagram App ID 和 Secret App Id。

  1. 您使用您的 Instagram 应用 ID 重定向到 Instagram。
  2. 用户授权您的应用后,Instagram 将重定向回您的应用。
  3. 您使用您的 Instagram 应用 ID、秘密应用 ID 和 Instagram 在重定向后发送给您的代码来获取令牌。
  4. 您使用令牌来获取用户的照片等。
于 2019-11-07T00:19:51.313 回答