Facebook Query Language
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.
First appeared | February 2007 |
---|---|
Platform | Facebook Platform |
Website | developers |
Influenced by | |
SQL |
History
FQL was first made publicly available in February 2007.[3]
FQL will no longer be available as of August 7, 2016, when Facebook API 2.0 is no longer available.[4] 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"):
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]
gollark: It's not actually measured in words in practice.
gollark: Fascinating.
gollark: I'm mostly constrained by thinking rather than typing.
gollark: What? No. Reading's 400WPM or so.
gollark: You just said you typed at 50WPM or so.
References
- "Facebook Query Language (FQL)". Facebook for Developers. Archived from the original on 2011-07-17. Retrieved 2018-05-12.
- "About Facebook-FQL". Tag info. Stack Overflow. Retrieved 2012-05-18.
- Steinberg, Ari (February 26, 2007). "FQL". Retrieved 2018-05-12.
- "Changelog - Graph API". Facebook for Developers. Retrieved 2018-05-12.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.