鉴于URL不是由应用程序配置:一个或多个指定的URL允许不受应用程序的设置允许 [英] Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings

查看:207
本文介绍了鉴于URL不是由应用程序配置:一个或多个指定的URL允许不受应用程序的设置允许的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出现在认证过程中这种错误:

This error appears in the authentication process:

由于URL不被应用程序配置:一个或多个指定的网址不被应用程序的设置允许不允许。它必须在网站网址或帆布URL匹配,或域名必须是应用的领域之一的子域。

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

这是怎么回事,我怎么能解决这个问题?

Why is this happening, and how can I fix it?

推荐答案

如果你是在开发机器上,要确保你不要混淆本地主机:3000 0.0.0.0:3000。虽然你的开发机上实际上是一样的东西,Facebook的API也不会承认这一点,将返回错误。确保网址是完全一样的无处不在。

If you are on your development machine, be sure that you don't mix up localhost:3000 with 0.0.0.0:3000. Although on your development machine it is practically the same thing, the Facebook API won't recognise this and will return the error. Make sure the url is exactly the same everywhere.

这篇关于鉴于URL不是由应用程序配置:一个或多个指定的URL允许不受应用程序的设置允许的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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