Jump to content
Wikipedia The Free Encyclopedia

Facebook Query Language

From Wikipedia, the free encyclopedia
Facebook Query Language
First appearedFebruary 2007; 18 years ago (2007-02)
Platform Facebook 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

[edit ]
[icon]
This section needs expansion. You can help by adding 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.

Example

[edit ]

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 to q=[FQL]

References

[edit ]
  1. ^ "Facebook Query Language (FQL)". Facebook for Developers. Archived from the original on 2011年07月17日. Retrieved 2018年05月12日.
  2. ^ "About Facebook-FQL". Tag info. Stack Overflow . Retrieved 2012年05月18日.
  3. ^ Steinberg, Ari (February 26, 2007). "FQL". Facebook . Retrieved 2018年05月12日.
  4. ^ "Changelog - Graph API". Facebook for Developers. Retrieved 2018年05月12日.
[edit ]
Products
and services
Facebook
Instagram
Hardware
Other
Former
People
Founders
Board
Current
Former
Executive
officers
Current
Former
Oversight
Board
Members
Board of
Trustees
Former
members
Notable
employees
Current
Former
Open source
Mass media
Concepts
Business
Lists
Related
Stub icon

This Web-software-related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /