Skip to content

yako-dev/flutter_facebook_login_web

 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dart 59.4%
  • Ruby 19.6%
  • JavaScript 10.3%
  • HTML 7.8%
  • Swift 2.0%
  • Kotlin 0.7%
  • Objective-C 0.2%