Facebook authentication


I would like to implement Facebook authentication for my app and so I am looking at the options.
Facebook offers the I guess well known Graph API to login.

I am wondering

  1. the feasibility as I read on Facebook API doc that the redirection URL should be in HTTPS: can we spawn the ionic app in HTTPS for web / ios / android?
    Screenshot 2020-05-08 at 6.46.04 PM

  2. if anyone has some guidance about how to implement this in an ionic app

  3. eventually if one gave a try to below plugins

  1. cordova-plugin-facebook4
    About this latter it looks cordova plugins can coexist in a capacitor project as per capacitor doc but

“Capacitor does not support Cordova install variables(…) you’ll need to apply those configuration settings manually”

with I assume then APP_ID and APP_NAME to be configured manually as plugin installation command is

ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"

Thank you,

After some more readings:
1- sounds feasible, I understand it will be something to achieve on the backend
3 & 4 - I gave a quick try to cordova-plugin-facebook4 plugin on Android: sounds working fine as it prompts for Facebook authentication and returns the user details requested.