facebook-lite

facebook.lite.js ================

Usage no npm install needed!

<script type="module">
  import facebookLite from 'https://cdn.skypack.dev/facebook-lite';
</script>

README

facebook.lite.js

Lightweight JavaScript SDK for the Facebook API

Modeled after the schema of the official Facebook JS

Usage

Load the init as usual

FB.init({
    appId      : '01234567890123456789', // App ID
    status     : true, // check login status
    cookie     : true, // enable cookies to allow the server to access the session
    xfbml      : true  // parse XFBML
});

Methods

  • init

  • api

Credits

Created by Makis Tracend ( @tracend )

Distributed through Makesites.org

Released under the MIT license