Last week we released a whole new version of Platform. On the surface it may look similar to the old version, but under the hood it is a totally new implementation. And, starting today you can enjoy the benefits of that new implementation by getting direct access to a more powerful, flexible way of accessing Facebook data – a query language we call FQL…
FQL is a way to query the same Facebook data you can access through the other API functions, but with a SQL-style interface. In fact, many of the normal API calls are simple wrappers for FQL queries. All of the usual privacy checks are still applied. A typical query looks something like this:
SELECT name, pic FROM user WHERE uid=211031 OR uid=4801660
The Facebook team cites a number of advantages to this approach including:
Curious? If you have an account you can try it out directly with their handy API Test Console.
Want an example of what folks are building, you can check-out the example below, MoochSpot which helps you keep track of debts and shared expenses with your friends. And as a nice bonus for developers at their site they include Java source.