Integrating your website or web app with Facebook makes it more social. From simple features such as the Like button and other social plugins, to powerful engaging stories with Open Graph and real identity through Facebook Login, the Facebook platform provides the tools you need to get people to your website and keep them coming back.
The Facebook platform enables you to make your website more social. With plugins that let you easily add social features to your website, and dialogs you can use to let your users share your content, you’ll be able to start using the features of the Facebook platform in minutes. By using Facebook Login to sign in users with their real identities, calling the Graph API and using Open Graph to tell stories, your users will be more engaged and more likely to return.
By leveraging the features of the Facebook platform, you can build mobile web apps that are more powerful and more personal. Whether you’re building a responsive web app that works on both desktop and mobile, or a mobile-specific web app, you’ll find features of the Facebook platform that will add help you get and retain users.
JavaScriptThe Facebook SDK for JavaScript provides a rich set of client-side functionality, including Facebook Login, API access and social plugins. | PHPThe Facebook SDK for PHP provides a rich set of server-side functionality for accessing Facebook's server-side API calls. | More SDKsFind the SDK to suit the platform you build on, with the full range of SDKs provided by both Facebook and the community. |
In this tutorial, you’ll learn how to incorporate the Facebook JavaScript SDK into your jQuery-based web app. Both jQuery and the JavaScript SDK provide their own solutions for deferring code execution until the libraries have loaded, and this tutorial will help you combine the two and ensure both are ready to use before you invoke the SDK.
In this tutorial, you'll learn how to incorporate the JavaScript SDK with other JavaScript modules using RequireJS. Ordinarily, the JavaScript SDK isn’t compatible with the Asynchronous Module Definition (AMD) design pattern, so this tutorial covers writing a shim to provide the FB object created by the SDK.
This example covers getting profile information for someone using your app or site and printing their name, using the Graph API and Facebook SDK for PHP.
This example covers getting specific profile fields for people using your app or site and printing it using FQL and the Facebook SDK for PHP.
This example covers posting a link to the timeline using the Graph API and Facebook SDK for PHP.
Upload a photo to people's profile This example covers uploading a photo to people's profile using the Graph API and Facebook SDK for PHP.