flutter_facebook_login_web 0.2.1+1

Flutter web

A Flutter plugin for using the native Facebook Login SDKs on Web.

flutter_facebook_login_web #

A Flutter plugin for using the JS Facebook Login SDK with Flutter Web.

Web integration #

NOTE: Facebook only allows https URLs.
At the start of body tag in web\index.html add:

 
<!--Facebook SDK config -->
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId            : 'YOUR_APP_ID',
      autoLogAppEvents : true,
      xfbml            : true,
      version          : 'v7.0'
    });
  };
</script>

<!-- Facebook JS CDN SDK -->
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>

<!-- for interop with dart through this plugin -->
<script src="https://flutterfacebooklogin.s3.us-east-2.amazonaws.com/web_interop.js"></script>
3
likes
90
pub points
54%
popularity

A Flutter plugin for using the native Facebook Login SDKs on Web.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

kfir25812@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, flutter_web_plugins, js

More

Packages that depend on flutter_facebook_login_web