Facebook登录“应用程序配置不允许的给定URL” [英] Facebook login "given URL not allowed by application configuration"

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

问题描述

我已经将Facebook登录到我的网站。但是,当我点击按钮时,我会收到一个红色框:

 无效参数

应用程序配置不允许给定URL。

如果我继续登录,我会得到:



API $错误代码:100
API错误说明:参数无效
错误消息:下一个不是应用程序所有。

不知道问题是什么。

解决方案

您的设置必须不正确。



转到 http://www.facebook.com/developers/ 并编辑您所在的应用程序



在网站标签中,查找网站网址。这应设置在您网站的网址 http://yoursite.com/



请注意,如果您使用子域名,还需要将站点域名更新为yoursite.com


I've added facebook login to my site. However, when I click the button, I get a red box that says:

Invalid Argument

Given URL is not allowed by the Application configuration.

If I continue to login then I get:

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.

Not sure exactly what the problem is. Any thoughts are appreciated.

解决方案

Your settings must be incorrect.

Go to http://www.facebook.com/developers/ and edit the application you're working on.

On the "website" tab, look for "Site URL". This should be set to your website's URL "http://yoursite.com/"

Note that if you're using subdomains, you'll also need to update "Site Domain" to be "yoursite.com"

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

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