Facebook Query Language

From Handwiki
Facebook Query Language
First appearedFebruary 2007; 17 years ago (2007-02)
PlatformFacebook Platform
Websitedevelopers.facebook.com
Influenced by
SQL

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.

History

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

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]

References

  1. "Facebook Query Language (FQL)" (in en-US). Facebook for Developers. http://developers.facebook.com/docs/reference/fql/. 
  2. "About Facebook-FQL". Tag info. Stack Overflow. https://stackoverflow.com/tags/facebook-fql/info. 
  3. Steinberg, Ari (February 26, 2007). "FQL" (in en). https://www.facebook.com/notes/facebook/fql/2245872130/. 
  4. "Changelog - Graph API" (in en-US). Facebook for Developers. https://developers.facebook.com/docs/apps/changelog/. 

External links

  • Official Homepage



Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Facebook_Query_Language&oldid=3039137"

Categories: [Query languages] [Facebook software]


Download as ZWI file | Last modified: 07/23/2024 08:11:15 | 15 views
☰ Source: https://handwiki.org/wiki/Software:Facebook_Query_Language | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]