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

The SHA-1 hash mechanism is reaching the end of its life. After December 31, 2015 you may find that SHA-1 connections to Facebook are no longer accepted. You must ensure that apps and sites which connect to Facebook can support the more secure SHA-2 connections.

Read our Blog Post: Update on the Transition to SHA-2: Moving to a More Secure Standard for Signed Certificates