Facebook API for Developers : Introducing the Facebook Platform
wildan.m
3,261 views
14 slides
Apr 27, 2011
Slide 1 of 14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
About This Presentation
No description available for this slideshow.
Size: 456.11 KB
Language: en
Added: Apr 27, 2011
Slides: 14 pages
Slide Content
Facebook API for Developers
Introducing the Facebook Platform
Wildan Maulana [email protected]
http://workshop.openthinklabs.com
#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
What Is Facebook?
2007 Platform for Application Development
Launch
FBML
REST API FQL
Facebook JavaScript
A set of client programming libraries
Facebook API
A Brief History of Facebook
20022003
MySpace
Synapse
Facemash.com
2004
thefacebook.com
2005
facebook.com
Focus on the college and university demographic
(The 18–24 young adult market.)
2007
facebook.com
Open its doors to nonacademic users
The Elements of the Facebook
Platform
Facebook Platform
Facebook Markup Language
REST API
Facebook Query Language
Facebook JavaScript
Set of Client Libraries for
Different Programming Languages
Facebook Markup Language
<fb:dashboard>
<fb:help href="help.php">Application Help</fb:help>
</fb:dashboard>
REST API Calls
REST API Calls
facebook.auth
facebook.feed
facebook.friends
facebook.notifications
facebook.profile
facebook.users
facebook.events
facebook.groups
facebook.photos
Facebook Query Language
FQL
user
friend
group
group_member
event
event_member
photo
album
phototag
Table
Facebook Query Language
FQL
now()
strlen(string)
concat(string1, string2,…, stringN)
substr(string, start, length)
strpos(haystack, needle)
lower(string)
upper(string)
Functions
SELECT name, pic
FROM user
WHERE uid = 7608007
Example
Facebook JavaScript
FBJS
<a href="#" onclick="new Dialog().showMessage('Dialog', 'This is the help message
for this link');return false">Show Dialog Box</a>
Client Libraries
Client Libraries
ActionScript
ASP.NET
ASP (VBScript)
ColdFusion
C++
C#
D
Emacs LispLisp
Perl
PHP (4 and 5)
VB .NET
Windows Mobile
Ruby
Python
Summary
Q&A
Reference
●Facebook API Developers Guide, Wayne
Graham, firstPress