O'Reilly logo

Facebook Cookbook by Jay Goldman

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

Preload FQL

Problem

I want to increase the performance of my pages that require the results of an FQL to do their initial rendering.

Solution and Discussion

Facebook has developed a preload FQL system that enables you to have Facebook send along the results of a specific FQL query when it requests FBML pages from your server. Since this is more reliant on an API call than on FQL, it’s documented in the Admin.SetAppProperties() API method (see Chapter 9). More information can also be found in the Developers Wiki at http://wiki.developers.facebook.com/index.php/Preload_FQL.

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