Log in using native Facebook dialog from a Progressive Web App

0

Hello

I'm developing a site that will use Facebook as the authentication method. However, instead of using the web dialog, I would like to use the native Facebook dialog on Android (or iOS).

I researched if this was possible, and in the few places where I found the answer it seems like there's no way to do that. But the answers are a little old and I think maybe with the growth of PWAs maybe this is possible today.

Anyway, using a Progressive Web App, is it possible to do what I want? If it is not possible, is there any forecast that this might exist in the future? Does WebIntents have anything to do with this?

    
asked by anonymous 10.09.2017 / 23:35

1 answer

0

Hello

Intents are native application activations through another native application. WebIntents are activations made from one site to another, without having to leave the site where the activation was made.

What you would need would be to activate the intents (native), I have tried to do something similar, but I did not continue in the project, however it has a interesting link where the author makes a case according to what you want.

It's important to note that Progressive Web Apps are growing and they will probably perform better interactions than hacks to achieve native functions, but for now you may run into some snags and may have to opt for web rather than native interactions.

    
11.09.2017 / 01:50