8. OAuth and Phoning Home

Up until this point our app has lived in, and been hosted on, MySpace’s servers. MySpace provides a wide range of services that allow quite a few apps to function perfectly well completely in that environment. You can provide markup that will render out to the page, save data in the app data store, send various types of messages, and fetch information on your users—all within the confines of MySpace—and possibly most important, all for free. However, there are some limits to what you can accomplish with this. For example, the app data store has some severe limitations. There are inherent security concerns (see Chapter 13 for details) and a 1kB limit imposed on each item saved. And what about larger apps that may have ...

Get Building OpenSocial Apps: A Field Guide to Working with the MySpace Platform now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.