Facebook Query Language
From Wikipedia, the free encyclopedia
Appeared in | February 2007 |
---|---|
Influenced by | SQL |
Platform | Facebook Platform |
Website | http://developers.facebook.com/ |
|
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]
Features
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
- ↑ "Facebook Query Language (FQL)". Documentation. Facebook. Retrieved 2010-12-16.
- ↑ "About Facebook-FQL". Tag info. Stack Overflow. Retrieved 2012-05-18.
- ↑ Steinberg, Ari (February 26, 2007). "Facebook Query Language (FQL)". The Facebook Blog. Facebook. Retrieved 2012-05-18.
|
This article is issued from Wikipedia. The text is available under the Creative Commons Attribution/Share Alike; additional terms may apply for the media files.