| Facebook Query Language | |
|---|---|
| First appeared | February 2007; 18 years ago (2007-02) |
| Platform | Facebook Platform |
| Website | developers |
| Influenced by | |
| SQL | |
Facebook Query Language (FQL) is aquery language that allows queryingFacebook user data by using aSQL-style interface,[1] avoiding the need to use theFacebook Platform GraphAPI.[2] Data returned from an FQL query is inJSON format by default.
This sectionneeds expansion. You can help byadding to it.(May 2012) |
FQL was first made publicly available in February 2007.[3] FQL was no longer available as of August 7, 2016, when Facebook API 2.0 was no longer available.[4] Facebook API versions newer than API 2.0 do not support FQL.
In the following query, four different types of data are retrieved from a single table (status) and for a single user ("me"):
SELECTstatus_id,message,time,sourceFROM`status`WHEREuid=me()
This query can run by querying the Facebook graph endpoint/fql with the parameters set toq=[FQL]