12. Facebook JavaScript Client Library

The Facebook JavaScript Client Library lets developers access most of the functionality of the Facebook application programming interface (API) from Facebook applications with IFrame canvas pages or an external website. This chapter goes over what the Library offers and how to use it. In this chapter, the Compliments application is updated to use the Facebook JavaScript Client Library.

The Facebook JavaScript Client Library differs from Facebook JavaScript (FBJS) in several ways. Although FBJS was designed to allow developers to use a subset of JavaScript that could run on Facebook Markup Language (FBML) pages, profiles, and application tabs, the Facebook JavaScript Client Library offers access to the Facebook ...

Get Essential Facebook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.