nraboy / ng-cordova-facebook-example

Ionic Framework ngCordova Oauth Example for Facebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facebook Login window not closing after login

akilah007 opened this issue · comments

Facebook Login window not closing after login.. Not Redirecting
This was occurred when using ionic latest

What do your logs say?

Facebook login window popup again after login..
It happen only when I updated the latest ionic version.
ionic lib update

Again, what do your logs say?

How do I set the proper redirect uri and site uri in my developer.facebook ? Tried localhost:8000. Is it https://www.facebook.com/connect/login_success.html if I am accessing it from cordova ? Sorry I am just so new to angular and cordova.

Port 8000 is incorrect. By default it is http://localhost/callback as mentioned in the README. If you want to override it you can use the optional {redirect_uri: ""} parameter.

Anything having to do with the Facebook dashboard, you'll have to read the Facebook docs.

Regards,