HOME

TheInfoList



OR:

__NOTOC__ Facebook Query Language (FQL) is a query language that allows querying
Facebook Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
user data by using a SQL-style interface, avoiding the need to use the Facebook Platform Graph
API An application programming interface (API) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build ...
. Data returned from an FQL query is in
JSON JSON (JavaScript Object Notation, pronounced or ) is an open standard file format and electronic data interchange, data interchange format that uses Human-readable medium and data, human-readable text to store and transmit data objects consi ...
format by default.


History

FQL was first made publicly available in February 2007. FQL was no longer available as of August 7, 2016, when Facebook API 2.0 was 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"): 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= QL'


References


External links


Official Homepage
Query languages Facebook software 2007 software {{web-software-stub