How does facebook detects webview or embedded browser

948 Views Asked by At
  1. How does facebook detects this type of browsers ?
  2. Is there any way to tricked that and make it as a native web browser such as a js code or something elese ?

Image

for your account security, logging in to Facebook from an embedded browser is disabled. To continue, download and log in to the Facebook app on your device and try agian.

I am using flutter webview:

WebView(
   javascriptMode: JavascriptMode.unrestricted,
   initialUrl: 'https://www.facebook.com/',
   onPageFinished: controller.webViewOnPageFinished,
)
1

There are 1 best solutions below

0
On

Facebook Already deprecated Login on embedded browsers. You can see more details in the official documentation here.