科尔多瓦的Facebook连接的插件无法在Android的登录 [英] Cordova facebook connect plugin fail on login in android

查看:105
本文介绍了科尔多瓦的Facebook连接的插件无法在Android的登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Andr​​oid应用程序(PhoneGap的)我使用Facebook服务的登录。但是当我尝试使用Facebook登录就会触发一个错误:

in my android application ( phonegap ) i am using facebook service for login. but when i try to login using facebook it will fire an error :

错误:科尔多瓦Facebook连接到登录插件失败! Facebook的错误:无法获得访问令牌

code上的仿真器工作正常,。但是当我在测试的实际设备会解雇我上面的错误。

Code working fine on emulator. but when i test in real device it will fire me above error.

推荐答案

请确保您的Facebook应用程序没有设置为沙盒模式。

Make sure that your Facebook app is not set to sandbox mode.

沙盒模式应选择的禁用。根据文档,如果被启用,只有开发人员可以访问应用程序。因此,测试在真实设备上可通过一个错误。

The Sandbox Mode should be selected as Disabled. As per the documentation, if this is enabled, only developers can access the app. Hence, testing on a real device may through an error.

这篇关于科尔多瓦的Facebook连接的插件无法在Android的登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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