-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Cancelled Dialog (4201) error when logging in #915
Comments
Figured it out. It happens when you use "singleInstance" for "AndroidLaunchMode". Any way to fix this? |
Check if Facebook app is working correctly on your device. Had same problem while there was "no connection" in Facebook app due to limited permissions. Fixing permissions (and Facebook app working) resolved the issue. |
I had similar issued when my phone's date was incorrect, that caused problems with certificates. |
Did you guys find a solution for the issue? |
This may seem like an obvious problem. But I got this exact error when I had wifi turned off on the android tablet. So, check you're not in flight mode... |
Fix found: Problem:- Solution:- |
by the way, I found the real issue behind this for me: |
This ṕroblem was fixed here https://www.npmjs.com/package/cordova-plugin-facebook4 |
@insign Not working for me on KitKat version |
The problem is with ionic plugin add!!!! ionic plugin add cordova-plugin-facebook4 --save --variable APP_ID="myid" --variable APP_NAME="meuname" bugged. cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="myid" --variable APP_NAME="myname" works! |
Looking in the inspector/ console, the error was that i used the key hash instead app key, when i instaled the plugin in my cordova app. |
saved my day!!! nothing else was working except that, thanks! |
Hello,
for some reason I keep getting the "User Cancelled Dialog (4201)" error when trying to login.
facebookConnectPlugin.login(['public_profile'],
function(msg) { alert(JSON.stringify(msg)); },
function(msg) { alert(JSON.stringify(msg)); }
);
What could be the reason for this? I've tried Android 4.1-5.0 and it's the same message.
The text was updated successfully, but these errors were encountered: