Facebook login with Ionic

Asked

Viewed 291 times

3

I’m trying to develop an application with Ionic that integrates with facebook, however I’m having some problems. I have seen similar discussions but no answer or solution. The problem is this: I configured my app on https://developers.facebook.com and followed the step-by-step that facebook itself comes from. Also, I used as a base a project on github (https://github.com/chanusukarno/Angular-Ionic-OAuth) that makes the integration and I changed only the APP ID. Until then beauty.

Then I set up my local IP (IP-LOCAL:8100) in the setting of Valid Oauth redirect Uris on facebook.

The point is that locally it works, but if buildo on mobile does not work the integration and appears the following message: 'can’t load url the Domain of this url isn’t included in the app’s Domains'.

I tried to set it up with this URL but I didn’t succeed either: www.facebook.com/connect/login_success.htm

I need to know how to do the configuration to work on the device.

  • I also have the same problem, you managed to solve?

  • Actually, I didn’t try anymore. But I think a valid attempt would be to upload the apk in the play store and link the android package name in the facebook settings.

  • friend check if in your config.xml file the settings: <access origin="" /> <allow-Intent href="http:///" /> <allow-Intent href="https:///" /> <allow-Intent href="tel:" /> <allow-Intent href="sms:" /> <allow-Intent href="mailto:" /> <allow-Intent href="geo:*" />

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.