我試圖從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任何其他需要更改的設置或者是否存在缺失的任何設置?