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.

Get Facebook Cookbook 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.