I need to create a PWA that is opened through the Facebook webview (when the user clicks a Facebook Ad on their phone). This app should have a button to enable the user to log-in with Facebook as easily as possible (ideally without having to type their FB email and password).
I was able to set-up the Facebook log-in system using the standard code from the documentation (works perfectly in Chrome desktop and mobile), however, in the Facebook WebView it doesn't work. When the user clicks on the FB login button, the screen just becomes blank. No errors displayed, not even user and password asked.
As far as I understood, Facebook discontinued the log-in from WebView feature (...but even their own?). Are there any turnarounds to enable the user to log-in with Facebook right after clicking on a Facebook Ad (that points toward a PWA page in a Facebook WebView)?
My project is in JavaScript.
Thanks!