O'Reilly logo

Facebook Application Development with Graph API Cookbook by Apeksha Singh, Shashwat Srivastava

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Creating Instant Applications

In this chapter, we will cover:

  • Creating a "Your Good Luck Charm of the Day" Facebook application
  • Designing a "My Fast Friends" Facebook application
  • Setting up a photo collage
  • Building a birthday calendar
  • Developing an application to classify friends according to the cities they live in

Introduction

In this chapter, we will show how to create Facebook applications from scratch.

Getting ready

First, we will create a basic layout. The applications discussed in this chapter will contain code based on this layout. We need to create two files as shown in the following steps:

  1. Create a config.php file and add the following code to it:
    <?php
      require_once 'facebook.php';
      /** Create our Application instance. */
  2. Initialize ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required