Facebook Query Language
From Wikipedia, the free encyclopedia
Facebook Query Language (FQL) is a query language that allows querying Facebook user data by using a SQL-style interface,[1] avoiding the need to use the Facebook Platform Graph API.[2] Data returned from an FQL query is in JSON format by default.
| Facebook Query Language | |
|---|---|
| First appeared | February 2007 |
| Platform | Facebook Platform |
| Website | developers |
| Influenced by | |
| SQL | |
History
Example
In the following query, four different types of data are retrieved from a single table (status) and for a single user ("me"):
SELECT status_id,message,time,source FROM `status` WHERE uid = me()
This query can run by querying the Facebook graph endpoint /fql with the parameters set to q=[FQL]