PacktLib: Learning Facebook Application Development

Learning Facebook Application Development

Credits

About the Authors

About the Reviewers

Preface

Getting to Grips with the Facebook Platform

The Purpose of the Facebook Platform

The Facebook Platform Elements

Obtaining the Facebook Client Libraries

Adding the Developer Application

Setting Up Your Application

Summary

Building a Facebook Application

A Simple Facebook Application

Developing the Simple Application

Writing to the Facebook Profile

Mock AJAX and Your Facebook Profile

Storing Data—Keeping Files on Your Server

Summary

Databases, Dashboards, and the Profile

Setting up the Database

Accessing the Database from Your Facebook Application

Updating Profile

Tracking Users

The Facebook Dashboard

Facebook JavaScript

Summary

Cooking User Data

How to Fetch User Data

FQL

Using Facebook API to Retrieve Information

Facebook Developers Tool

Summary

FBJS—The JavaScript

How FBJS Works

Dialog

Events

AJAX

Summary

Feeds

What Are Feeds?

How to Publish Feeds

Sample Application to Play with Feeds

Publishing News Feed

Difference between These Two Methods

feed_publishTemplatizedAction

Summary

Invitations and Notifications

Invitations

Notifications

Tips for Effective Notification and Emailing

Summary

Photos

Photo API

Slideshow Application

Summary

Tools and Multimedia

Creating a Discussion Board

Taking Comments from Users

Making a Wall Using fb:wall

Increasing Usability Using fb:switch

Using fb:random to Display a Random Option

Increasing Usability Using fb:switch

Sharing Content

Multimedia Contents

Summary