We will discuss the issues that we should note in loading the JavaScript SDK in our web pages.


Initialising the JS SDK

The JS SDK is initialised by calling the FB.init() method.

 FB.init({appId: '134893243199526',
          status: true,
          cookie: true,
          xfbml: true});


Loading the JavaScript SDK

While FB.init() is part of the JS SDK, we have to load the JS SDK before making the call.

We can choose either loading the JS SDK in a synchronous manner (i.e. other processing of your web page will be blocked) or in a asynchronous manner.



That's all that I would like to discuss about loading the JS SDK.