Facebook API for Developers : Introducing the Facebook Platform

3,776 views

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,776
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
99
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Facebook API for Developers : Introducing the Facebook Platform

  1. 1. #2 Facebook API for Developers Introducing the Facebook Platform Wildan Maulana wildan.m@openthinklabs.com http://workshop.openthinklabs.com
  2. 2. What We Will Cover● What Is Facebook?● A Brief History of Facebook● The Elements of the Facebook Platform● Facebook Markup Language ● REST API Calls ● Facebook Query Language ● Facebook JavaScript ● Client Libraries● Summary
  3. 3. What Is Facebook? Launch2007 Platform for Application Development Facebook API FBML Facebook JavaScriptREST API FQL A set of client programming libraries
  4. 4. A Brief History of Facebook 2002 2003 2004 2005 2007 MySpace thefacebook.com facebook.comSynapse Facemash.com facebook.com Focus on the college and university demographic (The 18–24 young adult market.) Open its doors to nonacademic users
  5. 5. The Elements of the Facebook Platform Facebook Markup Language REST APIFacebook Platform Facebook Query Language Facebook JavaScript Set of Client Libraries for Different Programming Languages
  6. 6. Facebook Markup Language<fb:dashboard><fb:help href="help.php">Application Help</fb:help></fb:dashboard>
  7. 7. REST API Calls facebook.auth facebook.feedREST API Calls facebook.friends facebook.notifications facebook.profile facebook.users facebook.photos facebook.events facebook.groups
  8. 8. Facebook Query Language user friend groupFQL Table group_member event event_member photo phototag album
  9. 9. Facebook Query Language now() strlen(string) concat(string1, string2,…, stringN) FQL Functions substr(string, start, length) Example strpos(haystack, needle)SELECT name, picFROM user lower(string)WHERE uid = 7608007 upper(string)
  10. 10. Facebook JavaScript FBJS<a href="#" onclick="new Dialog().showMessage(Dialog, This is the help messagefor this link);return false">Show Dialog Box</a>
  11. 11. Client Libraries VB .NET ActionScript ASP.NETWindows Mobile Ruby ASP (VBScript) Client Libraries ColdFusion Python C++ PHP (4 and 5) C# Perl D Lisp Emacs Lisp
  12. 12. Summary
  13. 13. Q&A
  14. 14. Reference● Facebook API Developers Guide, Wayne Graham, firstPress

×