Facebook Query Language
   HOME

TheInfoList



OR:

__NOTOC__ Facebook Query Language (FQL) is a
query language Query languages, data query languages or database query languages (DQL) are computer languages used to make queries in databases and information systems. A well known example is the Structured Query Language (SQL). Types Broadly, query language ...
that allows querying
Facebook Facebook is an online social media and social networking service owned by American company Meta Platforms. Founded in 2004 by Mark Zuckerberg with fellow Harvard College students and roommates Eduardo Saverin, Andrew McCollum, Dust ...
user data by using a SQL-style interface, avoiding the need to use the
Facebook Platform The Facebook Platform is the set of services, tools, and products provided by the social networking service Facebook for third-party developers to create their own applications and services that access data in Facebook. The current Faceb ...
Graph API. Data returned from an FQL query is in
JSON JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other se ...
format by default.


History

FQL was first made publicly available in February 2007. FQL is 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