Facebook应用程序域和站点URL [英] Facebook App Domain and Site URL

查看:154
本文介绍了Facebook应用程序域和站点URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我试图将Facebook身份验证集成到我的网站中,所以我在Facebook上创建并注册了我的应用程序(获得了我的应用程序ID和密码).我尝试了许多不同的方式来编码OAuth.所有人都给我相同的结果.我发现了最有意义的错误.

Hi guys I am trying to integrate Facebook authentication into my website, so i created and registered my App on Facebook(Got my App ID and secret). I have tried many different ways to code the OAuth. All are giving me the same result. I have found the most meaningful error.

{
   "error": {
      "message": "Invalid redirect_uri: Given URL is not permitted by the application configuration.",
      "type": "OAuthException",
      "code": 191
   }
}



我的应用程序域和站点URL不以WWW开头(因为它是由我的大学托管的). 是不是因为我的App域或站点URL,而不是因为它们不是以WWW开头的?



My App Domain and site URL does not start with WWW(as it is hosted by my university). So is it because of my App domain or site URL, because they do not start with WWW?

推荐答案

请检查此 [
Please check this Facebook "Invalid redirect_uri", but the url looks fine to me[^].

您的重定向网址:http://dennys-m.appspot.com/fb_login/必须与https://developers.facebook.com/apps/配置面板中的画布网址"匹配. br/>
幸运的是,最近这些天,Facebook发出错误消息无效的redirect_uri:应用程序配置不允许给定的URL".大约一年前,没有出现这种异常,只是奇怪的结果.
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.



希望对您有帮助.

谢谢...



Hope it helps you.

Thanks...


这篇关于Facebook应用程序域和站点URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆