【问题标题】:Instagram Api error code 400 invalid response typeInstagram Api 错误代码 400 无效响应类型
【发布时间】:2019-11-03 21:03:55
【问题描述】:

我正在尝试通过单击“使用 Instagram 登录” 按钮对用户进行身份验证。但收到此错误:

{"error_type": "OAuthException", "code": 400, "error_message": "Invalid response type: "}

这是我正在使用的 OAuth:

<a href="https://api.instagram.com/oauth/authorize/?app_id=<?php echo APP_ID; ?>&redirect_uri=<?php echo urlencode(REDIRECT_URI); ?>&scope=user_profile,user_media&responce_type=code" >login with instagram</a>

我正在关注本指南: https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions

我检查了错误代码列表,但无法验证此错误的确切含义,我只是严格按照指南进行操作。如果以前熟悉此问题的人希望看到您的答案。

【问题讨论】:

    标签: api instagram


    【解决方案1】:

    哎呀!我的错误只是输入错误responce_type=code 而不是response_type=code

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-02-21
      • 2015-07-03
      • 2020-06-13
      • 2022-12-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多