应用程序配置不允许给定URL [英] Given URL is not allowed by the Application configuration

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

问题描述

我正在尝试根据这个创建Facebook登录页面教程。我只更改了两行

I am trying to create facebook sign-in page according to this tutorial. I only changed the two lines

appId      : '370675846382420', // App ID
channelUrl : '//http://bp.php5.cz/channel.html', // Channel File

我得到以下错误


应用程序配置不允许使用URL:一个或
以上的给定URL不允许通过App的设置。它必须
匹配网站网址或画布网址,否则域必须是其中一个应用程序域名的子域

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.

可能是什么问题?

推荐答案

问题是,您目前主持您的应用程序的任何url都不是在应用程序配置中设置。

The problem is that whatever url you are currently hosting your app is not setup in your Application configuration. Go to your app settings and ensure the urls are matching.

已更新

步骤:


  1. 转到应用程序的基本设置

  2. 选择添加平台 / li>
  3. 选择网站

  4. 将您的网站网址设置为网站URL

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

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