我试图从facebook检索access_token时创建了新应用程序,并遇到问题。尝试从Facebook检索access_token时出现问题
我能够检索的授权码,并产生了AUTH_TOKEN以下请求: https://graph.facebook.com/oauth/access_token?client_id=APP_ID&redirect_uri=http://apps.facebook.com/ctfbesmokefree/&client_secret=APP_SECRET&code=GENERATED_CODE
我按照此页面上的步骤: http://forum.developers.facebook.net/viewtopic.php?id=70773
然而,即使以下所有步骤后,并编辑应用程序设置尝试生成auth_token时,仍然收到以下错误消息:
{
"error": {
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
"type": "OAuthException"
}
}
Is there任何其他需要更改的设置或者是否存在缺失的任何设置?