JavaScript SDK
Web › JavaScript SDK
The Facebook SDK for JavaScript provides a rich set of client-side functionality for adding Social Plugins, making API calls and implementing Facebook Login.
Take a look at the Getting Started guide for full information about features and usage.
The following code will load and initialize the JavaScript SDK with the most common options. Replace YOUR_APP_ID with your App ID from the App Dashboard, and WWW.YOUR_DOMAIN.COM with the path to your Channel File.
This code works best when placed directly after the openingtag.
If your web site or online service, or a portion of your web site or service, is directed to children under 13, please read the instructions on how to modify your initialization code