Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova/Phonegap Plugin - Android - Session was closed properly

I am using https://github.com/Wizcorp/phonegap-facebook-plugin for facebook login in my cordova based android app. I was testing the app with Facebook login feature, after a certain no of log in, i started getting an error saying

{"errorMessage":"Facebook error: Session was closed and was not closed normally"}.

The app is actually connecting to facebook app, But i get an error response. Totally lost. Where am i going wrong

like image 755
Sneha S Avatar asked Feb 22 '26 12:02

Sneha S


1 Answers

I found the solution. May help someone so sharing it. I did not create an Android platform for Facebook App. Add android Platform in Facebook App. Do not forget to mention the Key hash, this wont work without key hash.

like image 159
Sneha S Avatar answered Feb 24 '26 17:02

Sneha S



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!