小编yam*_*man的帖子

不能使用 facebook graph_api debug_token 来调试用户 access_token

我在文档中使用了 debug_token

' https://graph.facebook.com/oauth/debug_token?input_token='.$token_to_be_checked.'&access_token='.$app_access_token ;

但它回来了

{"error":{"message":"缺少 redirect_uri 参数。","type":"OAuthException","code":191}}

虽然文档中没有提到 redirect_uri,但我将它添加到了之前的请求中

.'&redirect_uri='.$my_url.'&client_id='.$app_id;

但仍然收到以下错误

{"error":{"message":"未知的 OAuth 2.0 方法,debug_token。","type":"OAuthException","code":1}}

有没有人能帮我解决这个问题并正确调试我的令牌

提前致谢

facebook facebook-graph-api facebook-sdk-3.0

2
推荐指数
1
解决办法
1230
查看次数