Chapter 6. Adding to the Graph

We've spent a lot of time observing the Graph, both as anonymous outsiders and as authenticated users. We understand the different types of node and the connections between them. Now it's time to create some of our own.

In this chapter, you will learn:

  • How to create new Graph Objects using the Graph API
  • How to delete existing objects from the Graph
  • The limitations of the Graph API for adding to the Graph versus the Facebook website

Let's get started...

Hello, Facebook!

I'm not usually a fan of "Hello World" applications, but it's so relevant here that I will make an exception. We'll start by posting a message to the logged-in user's Wall.

Get Facebook Graph API Development with Flash now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.