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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.