在尝试登录空白屏幕的权限 [英] Blank permission screen on login attempt

查看:166
本文介绍了在尝试登录空白屏幕的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做一个Android应用程序,允许用户与他们的Facebook账户登录。我可以在模拟器上运行它,并登入和登出我的帐户完美。然而,当我又试图做同样的对我的实际机器人,当我去登录一个空白的Facebook对话POP操作了标题为权限。还有在对话框的右上角一个好按钮,当我点击它给了我以下错误:

I'm making an android app that allows users to login with their facebook accounts. I can run it on the emulator and log in and out of my account perfectly. However, when i then tried to do the same on my actual android, when i went to login a blank facebook dialog poped up with the title "Permissions". There's a "Okay" button at the top right of the dialog, and when i click that it gives me the following error:

在[应用程序名称]时出现错误。请稍后再试。
API错误code:100
APE错误说明:无效的参数
错误信息:需要有效的重定向URI

An error occurred with [App Name]. Please try again later. API Error Code: 100 APE Error Description: Invalid Parameter Error Message: Requires valid redirect URI.

我的手机会自动记录我进来。

My phone automatically logs me in because i have the facebook app installed on it but not the emulator, whereas my emulator i have to enter my info every time.

当我尝试使用相同的帐户我的手机终端和模拟器这只发生。随着不同的帐户每个一切工作正常。

This only happens when i try to use the same account for both my phone and the emulator. With different accounts for each everything works fine

推荐答案

伴侣,

我一直在争取这个问题进行了两天,几乎扔掉我的项目。

I've been fighting with this issue for a couple of days, and almost throw away my project.

问题存在于以下设置:

应用程序设置 - >高级设置 - >增强验证对话框:真正的

App settings-> Advanced Settings -> Enhanced Auth Dialog: true

如果您该值设置为false,那么将运行就像一个魅力。看来,Facebook的家伙正在测试非工作的东西和我们在一起,没有一个警告!默认值是true,则设置为false,问题就解决了​​!

If you set that value to false, it will run like a charm. It seems that the facebook guys are testing non-working stuff with us, without a warning! The default value is true, set it to false and problem solved!

干杯。

这篇关于在尝试登录空白屏幕的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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