【问题标题】:Instagram redirect Uri scheme for Android? iOS scheme is not accepted.Instagram 重定向 Android 的 Uri 方案?不接受 iOS 方案。
【发布时间】:2014-09-23 16:11:33
【问题描述】:

在尝试使用 Instagram API 进行授权后,应用因错误而中断

 redirect uri does not match registered redirect uri 

通过搜索 SO,我可以看到 iOS 用户可以通过将 Uri 格式化为 ig+client_id+://authorize 来解决此问题。这在 Android 上失败。

我还检查了使用instagram://connect 方案的项目android-instagram-oauth。但这个方案也打破了我的应用程序。

我应该为 Android 使用什么方案? `

【问题讨论】:

    标签: android instagram


    【解决方案1】:

    在 Android 上,重定向 URL 必须取自 Instagram Developer 上已注册的应用程序。这是它起作用的唯一方法。

    使用该 URL 后,错误消失了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-04-30
      • 1970-01-01
      • 2017-12-23
      • 1970-01-01
      • 2017-05-04
      • 2017-02-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多