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.


Termination of SHA-1 Support

After October 1, 2015 our servers will stop accepting SHA-1 based connections. We'll require apps and sites that connect to Facebook to support the more secure SHA-2 connections.

Read our Blog Post: Moving to a More Secure Standard (SHA-2)