O'Reilly logo

Learning Facebook Application Development by Hasin Hayder, Dr. Mark Alexander Bain Alexander Bain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. FBJS—The JavaScript

Facebook recently introduced a scripting feature for application developers. This is one of the revolutionary steps taken by Facebook to ease the life of application developers. This scripting system is a subset of standard JavaScript, which is mostly similar to JavaScript, but with differences and restrictions in particular categories. The core difference of Facebook script (FBJS) and JavaScript are in DOM Manipulation, Event Architecture, and Stylesheet manipulation. Though most of the JavaScript functions and objects are supported, some features are restricted for security reasons.

Facebook scripting is called FBJS. In this chapter, we will go into the details of writing FBJS to ease our life, and increase ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required