Facebook长期访问令牌错误191重定向_uri
尽管我在谷歌上读过成千上万的关于它的文章,但我还是坚持这一点,所以你是我最后的选择: 以下是我的java调用:Facebook长期访问令牌错误191重定向_uri,facebook,redirect,token,Facebook,Redirect,Token,尽管我在谷歌上读过成千上万的关于它的文章,但我还是坚持这一点,所以你是我最后的选择: 以下是我的java调用: RestTemplate facebookRestTemp = new RestTemplate(); Map<String, String> vars = new HashMap<String, String>(); vars.put("fb_exchange_token", authToken.getAuthToken()); vars.put("clie
RestTemplate facebookRestTemp = new RestTemplate();
Map<String, String> vars = new HashMap<String, String>();
vars.put("fb_exchange_token", authToken.getAuthToken());
vars.put("client_secret", "97597d5b491d3de002056f064ffd1afa");
vars.put("grant_type", "fb_exchange_token");
vars.put("client_id", "496902567150512");
Object result = facebookRestTemp.getForEntity("https://graph.facebook.com/oauth/access_token", Object.class, vars);
在我的应用程序设置中,我已设置:
我尝试用十六进制表示法替换:
,/
。没用
你们有谁有主意吗
{
"error": {
"message": "Missing redirect_uri parameter.",
"type": "OAuthException",
"code": 191,
"fbtrace_id": "xxxx"
}
}