Facebook“无效的redirect_uri”,但网址对我来说看起来不错 [英] Facebook "Invalid redirect_uri", but the url looks fine to me
问题描述
尝试使用OAuth验证Facebook时出现以下错误:
{
错误:{
message:无效的redirect_uri:应用程序配置不允许给定URL,
type:OAuthException
}
}
我的网址如下所示:
https://graph.facebook.com/oauth/authorize?client_id=283993944973616&redirect_uri=http://dennys-m.appspot.com/fb_login/&scope=publish_stream,email&display = popup
我知道有很多其他帖子有这个问题,但我看不到什么会使我的网址无效任何想法为什么我得到这个错误?
您的重定向网址: http://dennys-m.appspot.com/fb_login/ 必须匹配 canvas url
在 https://developers.facebook.com/apps/ 配置面板中。
无效的redirect_uri:应用程序配置
不允许给定URL。大约一年前没有出现这样的异常,只是奇怪的结果。 I'm getting the following error when trying to authenticate to Facebook with OAuth:
{
"error": {
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
"type": "OAuthException"
}
}
My url looks like this:
https://graph.facebook.com/oauth/authorize?client_id=283993944973616&redirect_uri=http://dennys-m.appspot.com/fb_login/&scope=publish_stream,email&display=popup
I know there are a lot of other posts with this problem, but I can't see what would make my url invalid. Any ideas why I'm getting this error?
Your redirect url: http://dennys-m.appspot.com/fb_login/ must match the canvas url
in https://developers.facebook.com/apps/ configuration panel.
Fortunately, these days Facebook gives the error message Invalid redirect_uri: Given URL is not allowed by the Application configuration
. About a year ago no such exception appeared, just strange results.
这篇关于Facebook“无效的redirect_uri”,但网址对我来说看起来不错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!