给定url是不允许的应用程序配置.facebook登录错误 [英] given url is not allowed by the application configuration.facebook login error

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

问题描述

我正在使用xamarin studio开发一个andriod应用程序,这是我第一个移动应用程序。我正在尝试与Facebook登录进行整合。根据预先申请,我已经在Facebook的开发者页面中创建了一个应用程序,并将app_id包含在我的代码中。但是当我尝试连接到Facebook登录时,我会收到这个错误。我已经在我的模拟器中安装了facebook sdk。



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



请提供您的建议。我建议你使用
然后执行 Facebook Android Sample 项目?您可以使用示例代码作为您尝试实现的任何参考。



祝你好运。


I am developing an andriod app using xamarin studio and this is my first mobile app. I am trying to integrate with Facebook login. As per the pre-requistes i have created an app in developers page in facebook and have included the app_id in my code. But when i try to connect to the facebook login i get this error . I have installed the facebook sdk as well in my emulator.

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.

Please provide your suggestions.

解决方案

I suggest you use the Facebook Android SDK component if you have not already.
Then execute the Facebook Android Sample project? You can use the sample code as a reference for whatever you are trying to achieve.

Good luck.

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

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