16. Improving Application Performance and Workflow

This chapter covers advanced techniques for increasing application performance, using Facebook’s built-in query language for accessing data, and working with multiple developers.

Facebook only gives your application about 8 seconds to return content from the canvas pages and callbacks before it times out. For canvas pages, this results in displaying an error to the user. For AJAX callbacks, it means that the user’s last action won’t look like it worked. If your application loads, but is slow, users will become frustrated and stop using it. This chapter details some methods for improving your application’s performance using batching and the Facebook Query Language (FQL).

When multiple developers ...

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.