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

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

问题描述

我在我的网站上添加了 facebook 登录.但是,当我单击该按钮时,会看到一个红色框,上面写着:

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.

推荐答案

您的设置必须不正确.

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

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

在网站"选项卡上,查找站点 URL".这应该设置为您网站的 URL "http://yoursite.com/"

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

请注意,如果您使用子域,则还需要将站点域"更新为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天全站免登陆