First appeared February 2007; 10 years ago (2007-02) Website |
Facebook Query Language (FQL) is a query language that allows querying Facebook user data by using a SQL-style interface, avoiding the need to use the Facebook Platform Graph API. Data returned from an FQL query is in JSON format by default.
Contents
History
FQL was first made publicly available in February 2007.
FQL will no longer be available as of August 7, 2016, when Facebook API 2.0 is no longer available. Facebook API versions newer than API 2.0 do not support FQL.
Example
In the following query, four different types of data are retrieved from a single table (status) and for a single user ("me"):
This query can run by querying the Facebook graph endpoint /fql with the parameters set to q=[FQL]
References
Facebook Query Language Wikipedia(Text) CC BY-SA