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

问题描述

我正在尝试根据教程。我只更改了两行

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都不是在应用程序配置中设置。

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 13:24
查看更多