我读了一些有关此错误的分支,但我无法找到答案。
我有:
public static final String CLIENT_ID = "fffff";
public static final String CLIENT_SECRET = "xxxxx";
public static final String CALLBACK_URL = "igfffff";
private static final String AUTH_URL = "https://api.instagram.com/oauth/authorize/";
private static final String TOKEN_URL = "https://api.instagram.com/oauth/access_token";
private static final String API_URL = "https://api.instagram.com/v1";
在我的Instagram中,我补充道:
有效的重定向URI: - https://igfffff
网站网址: - http://myownsite.com
然后我尝试使用带有和不带的重定向URI:// authorize,但我抓住了错误:
{"代码":400," error_type":" OAuthException"," error_message":"重定向URI不匹配已注册的重定向URI"}
答案 0 :(得分:1)
尝试替换: -
public static final String CALLBACK_URL = "https://igfffff";