SlideShare a Scribd company logo
1 of 29
FQL ,[object Object],[object Object],[object Object],[object Object],[object Object]
FQL: Overview ,[object Object],[object Object],[object Object]
FQL: Overview ,[object Object],[object Object],[object Object],[object Object]
FQL: Overview ,[object Object],[object Object]
FQL: Simple Query ,[object Object],[object Object],[object Object],[object Object]
FQL: Simple Query ,[object Object],[object Object]
FQL: Simple Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <users_getInfo_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd&quot; list=&quot;true&quot;> <user> <uid>503802602</uid> <current_location> <city> Toronto </city> <state> Ontario </state> <country> Canada </country> <zip/> </current_location> </user> </users_getInfo_response>
FQL: Simple Query ,[object Object],[object Object],[object Object],[object Object]
FQL: Simple Query ... <friend_info> <uid2> 00000701 </uid2> </friend_info> <friend_info> <uid2> 00000702 </uid2> </friend_info> <friend_info> <uid2> 00000703 </uid2> </friend_info> ...
FQL: Simple Query ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FQL: Advanced Query ,[object Object],[object Object]
FQL: Advanced Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <fql_query_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; list=&quot;true&quot;> <event> <location> MaRS </location> </event> </fql_query_response>
FQL: Advanced Query ,[object Object],[object Object],[object Object]
FQL: Advanced Query ... <error_code> 604 </error_code> <error_msg> Your statement is not indexable - the WHERE clause must contain one of the columns marked with a star  in http://developers.facebook.com/documentation.php?doc=fql</error_msg> <request_args list=&quot;true&quot;> <arg> <key>query</key> <value> SELECT name FROM event WHERE strpos(location,&quot;facebook&quot;) </value> </arg> ...
FQL: Advanced Query ,[object Object],[object Object],[object Object]
FQL: Advanced Query ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FQL: Advanced Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <fql_query_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; list=&quot;true&quot;> <event> <eid> 2487044119 </eid> </event> </fql_query_response>
FQL: Advanced Query ,[object Object],[object Object],[object Object]
FQL: Versus SQL FQL != fecal
FQL: Versus SQL but... FQL != SQL
FQL: Versus SQL ,[object Object],[object Object]
FQL: Versus SQL ,[object Object],[object Object],[object Object],[object Object]
FQL: Versus SQL ,[object Object],[object Object]
FQL: Versus SQL ,[object Object],[object Object],[object Object]
FQL: Versus SQL ,[object Object]
FQL: Versus SQL ,[object Object],[object Object]
FQL: Versus SQL ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FQL: Tips ,[object Object],[object Object],[object Object]
FQL Questions? Craig Saila saila.com [email_address]

More Related Content

Viewers also liked

Herminio velez y cristina calle
Herminio velez y cristina calleHerminio velez y cristina calle
Herminio velez y cristina calle
alcaldia municipal
 
Mi pasi on
Mi pasi onMi pasi on
Mi pasi on
angiebbb
 
PARTICIPATION FORM PHARMAPROCESS
PARTICIPATION FORM PHARMAPROCESSPARTICIPATION FORM PHARMAPROCESS
PARTICIPATION FORM PHARMAPROCESS
adri451
 
Au 2014-140329065818-phpapp02 (1)
Au 2014-140329065818-phpapp02 (1)Au 2014-140329065818-phpapp02 (1)
Au 2014-140329065818-phpapp02 (1)
Martin Andersson
 
BIOINVENTARIO ESPAÑOL
BIOINVENTARIO ESPAÑOLBIOINVENTARIO ESPAÑOL
BIOINVENTARIO ESPAÑOL
Juan Carlos
 

Viewers also liked (20)

Las mejores revistas de entretenimiento
Las mejores revistas de entretenimientoLas mejores revistas de entretenimiento
Las mejores revistas de entretenimiento
 
Ishigami, Institute of Technology, Kangawa, Japan
Ishigami, Institute of Technology, Kangawa, JapanIshigami, Institute of Technology, Kangawa, Japan
Ishigami, Institute of Technology, Kangawa, Japan
 
Herminio velez y cristina calle
Herminio velez y cristina calleHerminio velez y cristina calle
Herminio velez y cristina calle
 
Mi pasi on
Mi pasi onMi pasi on
Mi pasi on
 
Herramientas info semana02 adm 2014 ii
Herramientas info semana02 adm 2014 iiHerramientas info semana02 adm 2014 ii
Herramientas info semana02 adm 2014 ii
 
PARTICIPATION FORM PHARMAPROCESS
PARTICIPATION FORM PHARMAPROCESSPARTICIPATION FORM PHARMAPROCESS
PARTICIPATION FORM PHARMAPROCESS
 
Articulo publicable definitivo
Articulo publicable definitivoArticulo publicable definitivo
Articulo publicable definitivo
 
Icc catalog
Icc catalogIcc catalog
Icc catalog
 
Au 2014-140329065818-phpapp02 (1)
Au 2014-140329065818-phpapp02 (1)Au 2014-140329065818-phpapp02 (1)
Au 2014-140329065818-phpapp02 (1)
 
Revista.Internacional.Forever Living.Junio.2013
Revista.Internacional.Forever Living.Junio.2013Revista.Internacional.Forever Living.Junio.2013
Revista.Internacional.Forever Living.Junio.2013
 
BIOINVENTARIO ESPAÑOL
BIOINVENTARIO ESPAÑOLBIOINVENTARIO ESPAÑOL
BIOINVENTARIO ESPAÑOL
 
Ad620
Ad620Ad620
Ad620
 
Borrador de IV Convenio presentado por Correos el 26 febrero 2015
Borrador de  IV Convenio presentado por Correos  el 26 febrero 2015Borrador de  IV Convenio presentado por Correos  el 26 febrero 2015
Borrador de IV Convenio presentado por Correos el 26 febrero 2015
 
The tablet is a sellers best friend
The tablet is a sellers best friendThe tablet is a sellers best friend
The tablet is a sellers best friend
 
Keko Yoma - Dossier - 2009 - 2010
Keko Yoma - Dossier - 2009 - 2010Keko Yoma - Dossier - 2009 - 2010
Keko Yoma - Dossier - 2009 - 2010
 
Presentación libro El Bazar de los Locos
Presentación libro El Bazar de los LocosPresentación libro El Bazar de los Locos
Presentación libro El Bazar de los Locos
 
Presentavcció vall d'aran
Presentavcció vall d'aranPresentavcció vall d'aran
Presentavcció vall d'aran
 
Códigos QR y Turismo
Códigos QR y TurismoCódigos QR y Turismo
Códigos QR y Turismo
 
Jakub Černý: Personalizácia e-shopov prakticky
 Jakub Černý: Personalizácia e-shopov prakticky Jakub Černý: Personalizácia e-shopov prakticky
Jakub Černý: Personalizácia e-shopov prakticky
 
A LASSO for Linked Data
A LASSO for Linked DataA LASSO for Linked Data
A LASSO for Linked Data
 

Similar to FQL Overview

Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
Lorna Mitchell
 
Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce
vraopolisetti
 
External Data Access with jQuery
External Data Access with jQueryExternal Data Access with jQuery
External Data Access with jQuery
Doncho Minkov
 

Similar to FQL Overview (20)

Facebook Development with Zend Framework
Facebook Development with Zend FrameworkFacebook Development with Zend Framework
Facebook Development with Zend Framework
 
Hack Day EU 2011 YQL
Hack Day EU 2011 YQLHack Day EU 2011 YQL
Hack Day EU 2011 YQL
 
SPARQLing Services
SPARQLing ServicesSPARQLing Services
SPARQLing Services
 
Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2Ajax Applications with RichFaces and JSF 2
Ajax Applications with RichFaces and JSF 2
 
Struts2
Struts2Struts2
Struts2
 
YQL Presentation at Geek Girls Dinner Sydney
YQL Presentation at Geek Girls Dinner SydneyYQL Presentation at Geek Girls Dinner Sydney
YQL Presentation at Geek Girls Dinner Sydney
 
Spring Surf 101
Spring Surf 101Spring Surf 101
Spring Surf 101
 
From SQL to SPARQL
From SQL to SPARQLFrom SQL to SPARQL
From SQL to SPARQL
 
FOWA 09 - Open Strategy Applied
FOWA 09 - Open Strategy AppliedFOWA 09 - Open Strategy Applied
FOWA 09 - Open Strategy Applied
 
Yahoo - Open Applied
Yahoo - Open AppliedYahoo - Open Applied
Yahoo - Open Applied
 
RESTful API 제대로 만들기
RESTful API 제대로 만들기RESTful API 제대로 만들기
RESTful API 제대로 만들기
 
Living in the Cloud: Hosting Data & Apps Using the Google Infrastructure
Living in the Cloud: Hosting Data & Apps Using the Google InfrastructureLiving in the Cloud: Hosting Data & Apps Using the Google Infrastructure
Living in the Cloud: Hosting Data & Apps Using the Google Infrastructure
 
Living in the Cloud: Hosting Data & Apps Using the Google Infrastructure
Living in the Cloud: Hosting Data & Apps Using the Google InfrastructureLiving in the Cloud: Hosting Data & Apps Using the Google Infrastructure
Living in the Cloud: Hosting Data & Apps Using the Google Infrastructure
 
Alfresco Forms Service Deep Dive
Alfresco Forms Service Deep DiveAlfresco Forms Service Deep Dive
Alfresco Forms Service Deep Dive
 
Architecting Web Services
Architecting Web ServicesArchitecting Web Services
Architecting Web Services
 
Wso2 Scenarios Esb Webinar July 1st
Wso2 Scenarios Esb Webinar July 1stWso2 Scenarios Esb Webinar July 1st
Wso2 Scenarios Esb Webinar July 1st
 
Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce Building Robust Applications with Dynamic Visualforce
Building Robust Applications with Dynamic Visualforce
 
External Data Access with jQuery
External Data Access with jQueryExternal Data Access with jQuery
External Data Access with jQuery
 
Developing in android
Developing in androidDeveloping in android
Developing in android
 
symfony & jQuery (PUG)
symfony & jQuery (PUG)symfony & jQuery (PUG)
symfony & jQuery (PUG)
 

Recently uploaded

Recently uploaded (20)

Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 

FQL Overview

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. FQL: Simple Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <users_getInfo_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd&quot; list=&quot;true&quot;> <user> <uid>503802602</uid> <current_location> <city> Toronto </city> <state> Ontario </state> <country> Canada </country> <zip/> </current_location> </user> </users_getInfo_response>
  • 8.
  • 9. FQL: Simple Query ... <friend_info> <uid2> 00000701 </uid2> </friend_info> <friend_info> <uid2> 00000702 </uid2> </friend_info> <friend_info> <uid2> 00000703 </uid2> </friend_info> ...
  • 10.
  • 11.
  • 12. FQL: Advanced Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <fql_query_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; list=&quot;true&quot;> <event> <location> MaRS </location> </event> </fql_query_response>
  • 13.
  • 14. FQL: Advanced Query ... <error_code> 604 </error_code> <error_msg> Your statement is not indexable - the WHERE clause must contain one of the columns marked with a star in http://developers.facebook.com/documentation.php?doc=fql</error_msg> <request_args list=&quot;true&quot;> <arg> <key>query</key> <value> SELECT name FROM event WHERE strpos(location,&quot;facebook&quot;) </value> </arg> ...
  • 15.
  • 16.
  • 17. FQL: Advanced Query <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <fql_query_response xmlns=&quot;http://api.facebook.com/1.0/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; list=&quot;true&quot;> <event> <eid> 2487044119 </eid> </event> </fql_query_response>
  • 18.
  • 19. FQL: Versus SQL FQL != fecal
  • 20. FQL: Versus SQL but... FQL != SQL
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. FQL Questions? Craig Saila saila.com [email_address]