2. Getting Basic MySpace Data

In this chapter we’ll start with a very basic version of the Tic-Tac-Toe application and then expand on it to include examples of how you might fetch a user’s name, address, and gender. We’ll then show you how to use that information in your application. On the way, we’ll cover how MySpace and OpenSocial define an opensocial.Person object and how to use that information to enrich your application.

We’ll also get to really play with our Tic-Tac-Toe game. This will be our example app, and over the course of the book we’ll take you from a basic game to a fully functional and feature-rich application.

At each step along the way we’ll teach you new methods and programming tricks for accessing and using the OpenSocial ...

Get Building OpenSocial Apps: A Field Guide to Working with the MySpace Platform 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.