How do I implement Facebook login in Messenger browser (web-view)?
In Facebook Messenger, there're quite many scenarios which require us to create an in-app web-view, one of them will be account linking with Facebook login. Some clients rely heavily on user's Facebook login to identify the user's account.
To resolve, we suggest you to manually create a login flow for users on that landing page.
- Go to Facebook App Dashboard. Under "Products", choose
- Under "Client OAuth Settings", switch on an option called Embedded Browser OAuth Login.
- Add your custom redirect URL(s) under "Valid OAuth Redirect URIs".
- Follow the official Facebook guide to set up a Facebook login by Redirect URL.