Facebook API Developers Guide

Overview

The Facebook API allows web developers to create Facebook applications and access Facebook data from other applications. Facebook API Developers Guide covers the use and implementation of the Facebook API—what the key features are and how you can access them. You will learn, through practical examples, the main features of the Facebook API including an introduction to the API–specific languages FQL and FBML. These examples are further supported by the introduction of other technologies like language libraries, ...

See more details below
Paperback (2008)
$25.17
BN.com price
(Save 16%)$29.99 List Price
Other sellers (Paperback)
  • All (15) from $1.99   
  • New (8) from $22.05   
  • Used (7) from $1.99   
Sending request ...

Overview

The Facebook API allows web developers to create Facebook applications and access Facebook data from other applications. Facebook API Developers Guide covers the use and implementation of the Facebook API—what the key features are and how you can access them. You will learn, through practical examples, the main features of the Facebook API including an introduction to the API–specific languages FQL and FBML. These examples are further supported by the introduction of other technologies like language libraries, relational database management systems, and XML.

  • Covers all key features of the Facebook API
  • Explains the API languages FQL and FBML
  • Teaches by example, with useful code and tips you can use in your own applications

What you’ll learn

  • Provides “real” language description of the API that’s easy to understand
  • Presents multiple API examples that you can use in your own projects
  • Fills holes in the official documentation
  • Demonstrates integration with other technologies
  • Illustrates how adoption of social–technical behavior shapes technology design
  • Shows that Facebook development is fun!

Who this book is for

This book is for web developers wanting to learn how to leverage the API in their own applications or how to create bespoke applications in Facebook. It will also appeal to Facebook users who are interested in using the API to develop their own programs. The code in the book is aimed at the beginner–to–intermediate level, so you don’t need to be a pro to use it, but some programming or web development experience is recommended.

Read More Show Less

Product Details

  • ISBN-13: 9781430209690
  • Publisher: Apress
  • Publication date: 2/28/2008
  • Edition description: 2008
  • Edition number: 1
  • Pages: 100
  • Product dimensions: 9.25 (w) x 7.50 (h) x 0.33 (d)

Meet the Author

strongWayne Graham/strong is the emerging technology coordinator at the Earl Gregg Swem Library at the College of William and Mary in Williamsburg, Virginia.
Read More Show Less

Table of Contents

About the Author

About the Technical Reviewer

Chapter 1 Introducing the Facebook Platform 1

What Is Facebook? 1

A Brief History of Facebook 1

The Elements of the Facebook Platform 2

Facebook Markup Language 3

REST API Calls 3

Facebook Query Language 4

Facebook JavaScript 5

Client Libraries 6

Summary 7

Chapter 2 Getting Ready for Facebook Application Development 9

What's Needed 9

Creating a Facebook Account 10

Understanding Facebook Layout and Terms 10

Setting Up Your Server 12

Adding the Developer Application 13

Understanding How Facebook Applications Work 15

Creating a New Application 17

Facebook Terms of Service Highlights 19

Using Facebook Tools 20

API Tab 20

XML 21

JSON 22

PHP 23

FBML Tab 24

Feed Preview Console Tab 28

Using Programming Tools 29

Summary 29

Chapter 3 Learning Facebook Platform Fundamentals 31

Client Library Primer 31

API Primer 33

Authentication 35

Events 37

FBML 37

Feed 37

FQL 38

Friends 38

Groups 38

Marketplace 38

Notifications 39

Photos 39

Profile 39

Users 39

Error Codes 39

Data Store API 40

FQL Primer 42

Tables 42

Functions and Operators 44

Facebook Markup Language Primer 46

Valid HTML Tags 46

FBML Tags 47

Conditionals 48

User/Group Information 51

Profile Specific 51

Embedded Media 52

Visibility on Profile 52

Tools 53

Forms 53

Other 54

Editor Display 54

Page Navigation 56

Dialog Boxes 58

Wall 60

Mock Ajax 61

Facebook JavaScript Primer 63

DOM Objects 65

Putting It Together 65

Things to Remember 69

Summary 70

Chapter 4 Building a Facebook Application, Start to Finish 71

Setting Up Eclipse 71

Using Plug-Ins 73

RemoteProject Support (FTP/SFTP) 73

PHP Development Tools 75

Data Tools Platform SQL Development Tools 78

Connecting to Your Web Server 83

Layout Out the Project 84

Creating the Database 93

Designing the Database 93

Working with SQL 95

Jumping In 98

External Web Services 110

Game Review 117

Add Game 119

Publishing Feeds 123

Testing 123

Debugging 124

Scaling 124

Launching Your Application 125

Creating the About Page 125

Creating a Logo 125

Submitting for Approval 126

Publicizing Your Application 126

Advanced Techniques 126

Summary 127

Chapter 5 Going Further with Your Application 129

Application Statistics 129

Monetizing 131

AdSense 132

Amazon 134

Adonomics 134

Others 134

Advertising Tips 135

Selling Your Application 136

Help, I'm Stuck! (and Other Resources) 136

Summary 136

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)