O'Reilly logo

Building OpenSocial Apps: A Field Guide to Working with the MySpace Platform by Jessica Whyte, Chad Russell, Chris Cole

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

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 ...

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