【问题标题】:instagram Authentication gives 'No matching code found' when I use additional query parameters当我使用其他查询参数时,instagram 身份验证给出“未找到匹配代码”
【发布时间】:2015-07-08 13:51:50
【问题描述】:

仅当我使用其他查询参数时,instagram 身份验证才会给出“未找到匹配代码”:

https://api.instagram.com/oauth/authorize/?client_id=client_id&redirect_uri=http://dev.dev-site.ru/?reg=1&response_type=code

如果我在没有附加参数的情况下使用它,一切都可以:

https://api.instagram.com/oauth/authorize/?client_id=client_id&redirect_uri=http://dev.dev-site.ru/&response_type=code

我尝试将注册的 REDIRECT URI 更改为“http://dev.dev-site.ru/”、“http://dev.dev-site.ru/?reg”但未成功。我的错误是什么?

【问题讨论】:

    标签: yii oauth instagram instagram-api


    【解决方案1】:

    redirect_uri 中的 ? 引起了问题,URL 转义了 redirect_uri 值,它会正常工作。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-07-03
    • 1970-01-01
    • 1970-01-01
    • 2016-11-10
    • 1970-01-01
    相关资源
    最近更新 更多