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® Development: Build Successful Applications for the Facebook Platform 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.