简体   繁体   English

使用Facebook应用程序登录时出错

[英]Error when login with a Facebook app

I am trying to develop a fb app. 我正在尝试开发一个fb应用程序。 It shows me a error message when I try to log in with the app. 当我尝试使用该应用程序登录时,它显示了一条错误消息。

API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration. API错误代码:191 API错误描述:应用程序不拥有指定的URL错误消息:无效的redirect_uri:应用程序配置不允许给定的URL。

app domain:www.abc.def.com

site url :http://www.abc.def.com/

Canvas URL:http://www.abc.def/fbapp/

check your redirect_url 检查您的redirect_url

The redirect_url must contain the Site URL or Canvas URL as defined in your App Settings. redirect_url必须包含“应用程序设置”中定义的“网站URL”或“画布URL”。 If one has a trailing slash the other must too. 如果一个带有斜杠,那么另一个也必须。

You will find that this is the most common solution to this problem. 您会发现这是解决此问题的最常用方法。

Facebook API error code 191 also Facebook API error 191 Facebook API错误代码191以及Facebook API错误191

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM