3

What do I need to enter for the OAuth redirect URIs on the facebook developer page when developing hybrid application with ionic framework / cordova?

facebook oauth redirect url

The current setup does not allow the app on the device to connect use facebook connect.

What should the URL look like?

3
  • How are you trying to connect to Facebook via the application? Are you using the Facebook native plugin or ng-cordova-oauth?
    – Nic Raboy
    Jul 30, 2015 at 20:45
  • Well I'm using the angular JS example from the facebook page developers.facebook.com/docs/javascript/howto/angularjs
    – Herr
    Jul 30, 2015 at 20:57
  • @nicraboy also big thank you to you.
    – Herr
    Jul 31, 2015 at 5:26

1 Answer 1

3

I used https://github.com/nraboy/ng-cordova-oauth and added

To Facebook dev page

1
  • Does localhost refer to 127.0.0.1 of the device in cordova? Or is it just local to cordova? Why I ask is i don't want someother app listening on localhost to hijak my oauth requests. Nov 20, 2016 at 20:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.