O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

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

Use REST Endpoints, Not FQL

While the Facebook Query Language (FQL) might be easy to work with (since it has an SQL-like syntax and provides easy access to users’ social data), if you use FQL in your application, you’re in for a major overhaul when porting it from Facebook to an OpenSocial container.

This reiterates the point covered earlier in the section. All social reference feeds should be pulled from a container’s REST endpoints, and all container-specific paths should be mapped into a series of configuration variables so that they can be easily updated for a new container when the application is ported.

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