Facebook Query Language
From Quire, the open reference·Query language·1 min read
| First appeared | February 2007 |
|---|---|
| Platform | Facebook Platform |
| Website | developers.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
Example#edit
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#edit
- ^ "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". Facebook. Retrieved 2018-05-12.
- ^ "Changelog - Graph API". Facebook for Developers. Retrieved 2018-05-12.
External links#edit
This article is mirrored from “Facebook Query Language” on English Wikipedia, revision 1361847383, written by Wikipedia's contributors and licensed CC BY-SA 4.0. Editing it here creates a Quire copy with its own history.
Synced with Wikipedia revision 1361847383 · just now