我创建了一个新应用程序,但在尝试从 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"
}
}
是否有任何其他设置需要更改或缺少任何内容?