Skip to:Content
|
Bottom
Cover image for Facebook application development
Title:
Facebook application development
Personal Author:
Publication Information:
Indianapolis, IN : Wiley Publishing, 2008
Physical Description:
xxiii, 330 p. : ill. ; 24 cm
ISBN:
9780470246665

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010185535 QA76.76.A65 G47 2008 Open Access Book Book
Searching...

On Order

Summary

Summary

The wildly popular Facebook social networking platform has published an open Application Programming Interface (API) and developers are eating it up--60,000 signed up to use it in the first few days; with this API, any programmer can create applications and new features for Facebook Explores and explains the components available to programmers, including working with Facebook Markup Language (FBML), querying Facebook with FQL, application layout and flow, advanced configuration and performance tuning, and more Businesses such as NBC, Yahoo!, Red Bull, Forbes, and the Washington Post are building branded applications to reach the growing Facebook community


Author Notes

Nick Gerakines is a software engineer at Yahoo! in San Francisco, California where he works on del.icio.us and contributes to numerous other projects and Facebook applications. In addition, he has written several Facebook applications of his own, including the popular I Play WoW application. He is an active member of the Facebook developer community and writes frequently on the topic. He lives in Mountain View, California with his wife, Carolyn, and daughter, Vanessa.


Table of Contents

Acknowledgmentsp. xi
Introductionp. xix
Part I Understanding the Facebook Platformp. 1
Chapter 1 Facebook as a Platformp. 3
Evolution of Facebookp. 3
Facebook Servicesp. 4
The Technology behind Facebookp. 5
Introduction to the Core Technologiesp. 5
Role of the Applicationp. 6
Anatomy of an Applicationp. 7
Application Canvasp. 7
Application Profile Boxp. 8
Application About Pagep. 9
News Feed and Mini-Feedp. 10
Application Directoryp. 12
Notifications and Requestsp. 13
Facebook Pagesp. 14
Message Attachmentsp. 14
Application Request Processp. 16
Validating the Request Signaturep. 18
Client Librariesp. 18
The Developer Center and Developer Applicationp. 18
Application Traitsp. 19
Top Friendsp. 19
iLikep. 19
Extended Infop. 20
Artp. 20
Fortune Cookiep. 21
Honesty Boxp. 21
Causesp. 21
del.icio.usp. 22
Pirates vs. Ninjasp. 22
Election '08p. 23
Scrabulousp. 23
Application Trait Overviewp. 23
Advertising and Marketingp. 24
Perfecting a Single Ideap. 24
Adding New Functionality and Extending Functionalityp. 25
Cosmetic Enhancementsp. 25
Business Relationshipsp. 25
Facebook Beaconsp. 25
Summaryp. 25
Chapter 2 Building Your First Applicationp. 27
What You Needp. 27
Outlining the Functionality and Featuresp. 27
Creating the Applicationp. 28
Introducing the Facebook Developer Applicationp. 28
Creating the 'Hello World' Applicationp. 28
Writing the Applicationp. 33
Preparing the Application Environmentp. 33
Application Layout and Structurep. 34
Class Overviewp. 34
Canvas Pagesp. 37
Evaluating the Statusp. 45
Summaryp. 46
Chapter 3 Facebook Markup Language (FBML)p. 47
Understanding FBMLp. 47
Entitiesp. 48
HTMLp. 48
Operatorsp. 49
Navigationp. 51
Informationalp. 54
User and Groupp. 56
Information Controlp. 58
Profilep. 62
Profile Visibilityp. 64
Media and External Contentp. 66
Notifications and Requestsp. 70
Facebook Widgetsp. 73
Editor and Formsp. 75
Systemp. 80
Miscellaneousp. 81
Dynamic FBML Attributesp. 84
Visibilityp. 84
Mock-Ajaxp. 85
Formsp. 86
Imagesp. 86
Formsp. 87
CSS and the DOMp. 87
Summaryp. 87
Chapter 4 Advanced FBMLp. 89
FBML and FBJSp. 89
The Basicsp. 89
Element and ID Renamingp. 93
FBML Canvas Rules and Caveatsp. 95
FBJS DOM Objectsp. 95
CSS and Stylingp. 98
Event Handlingp. 99
Ajaxp. 100
Dialogsp. 104
Summaryp. 108
Chapter 5 Using the Facebook APIp. 109
The Method Requestp. 109
Common Request Parametersp. 110
Responsesp. 111
Error Handlingp. 111
XMLp. 113
JSONp. 113
Method Definitionsp. 113
Authenticationp. 113
News Feed and Mini-Feedp. 114
FQLp. 121
Friendsp. 122
Notificationsp. 125
Profilep. 128
Userp. 130
Eventsp. 139
Groupsp. 143
Photosp. 146
FBMLp. 153
Marketplacep. 155
Summaryp. 162
Chapter 6 Data Mining with FQLp. 163
FQL Requestsp. 163
FQL Responsesp. 164
XMLp. 164
JSONp. 164
FQL Syntaxp. 166
Available Fields and Tablesp. 167
Additional Query Componentsp. 172
Fields with Complex Data Structuresp. 173
Using This in Your Applicationsp. 174
Method Replacementp. 174
Storing Datap. 174
Summaryp. 175
Chapter 7 Authenticationp. 177
Authentication Componentsp. 177
Identifying an Applicationp. 178
Sessionsp. 179
Signaturesp. 179
Application Authenticationp. 180
Validating Requestsp. 180
Forcing Viewsp. 183
External Application Authenticationp. 184
Creating Sessions from Desktop Applicationsp. 192
Summaryp. 195
Part II Building Facebook Applicationsp. 197
Chapter 8 Resources for Developersp. 199
The Developers Applicationp. 199
My Applicationsp. 200
Discussion Boardp. 206
Updates and Service Announcementsp. 207
Application Statsp. 208
The Developers Web Sitep. 209
Documentationp. 209
Resourcesp. 209
Toolsp. 210
Wikip. 211
Bug-Trackingp. 211
Test Accountsp. 211
Summaryp. 212
Chapter 9 Doing More with Hello Worldp. 213
Looking Backp. 213
Going Forwardp. 214
Preparationp. 214
Creating Better Profilesp. 215
Event Tracking with Application Eventsp. 220
Sending and Tracking Invitationsp. 222
Statistics and Metricsp. 227
Summaryp. 228
Chapter 10 External Application Developmentp. 229
Defining the External Applicationp. 229
Creating an External Applicationp. 230
Preparationp. 230
Installing MediaWikip. 231
Disabling Anonymous Editsp. 233
Disabling Account Creationp. 233
Removing the Login Linkp. 233
Creating the External Applicationp. 233
Developing the AuthFacebook Componentp. 234
Developing the Facebook Componentp. 245
Exercisesp. 248
Summaryp. 248
Chapter 11 Best Practicesp. 249
Common Goalsp. 249
Creating Automated Jobsp. 249
Application Settings and Configurationp. 257
Respecting User Privacy in a Social Worldp. 262
Caveatsp. 263
Callback URLs Are Not to Redirectp. 263
The 12-Second Rulep. 263
Callback URLS Cannot Be Made Using SSLp. 263
Design Patternsp. 264
Common Elementsp. 264
Styles and Colorsp. 264
Canvas Navigationp. 265
Displaying Adsp. 266
Using Dialogs Efficientlyp. 267
Summaryp. 270
Appendix A PHP File Referencep. 271
Indexp. 315
Go to:Top of Page