【发布时间】:2016-01-03 15:04:20
【问题描述】:
我有一个使用 cordova 的应用程序,可以在登录 Instagram 后检索用户照片。
在页面 index.html 中:
<a id="login" href="https://instagram.com/oauth/authorize/?client_id=MYCLientID&redirect_uri=http://localhost:8200/myphotos.html&response_type=token" >Log into your Instagram</a>
在页面 myphotos.html 我在 url 中获取访问令牌,然后使用它。
当我尝试在 ios/android 中运行它时出现错误 说:
ERR_CONNECTION_REFUSED
在 Instagram 开发者的应用设置中
我设置REDIRECT_URI=http://localhost:8200/myphotos.html
【问题讨论】:
标签: android ios cordova instagram