Facebook SDK for JavaScript

A rich set of client-side functionality for adding Social Plugins, Facebook Login and Graph API calls.

Quickstart
Learn how to use the JavaScript SDK.

Reference
A list of all SDK methods.

Guides

Examples

Try our examples for using the SDK: Trigger a Share dialog, Facebook Login and calling the Graph API.

Advanced Setup

Learn about customizing options of the Facebook SDK for JavaScript.


Frameworks

AngularJS

Concepts how to integrate the Facebook SDK for JavaScript in your AngularJS app.

jQuery

Incorporate the Facebook SDK for JavaScript into your jQuery-based web app.

RequireJS

Incorporate the Facebook SDK for JavaScript with other JavaScript modules using RequireJS.