O'Reilly logo

Essential Facebook by Cappy Popp, John Maver

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

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 ...

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