MySpace Create Application

From Triangle Wiki

Jump to: navigation, search

Introduction

  1. Create a MySpace account
  2. Create an "Application account"
    1. Two different accounts need creating to develop application on MySpace.
    2. The "application account" will be manually approved after approximately (24hrs).
    3. Upon approval, the developer will have access to the MySpace Developer Platform.
  3. Validate your email address
  4. Create an "App Profile Account" this is a "profile" and "about page" for your application.
    1. Create an email address that has not been used to create any other accounts on MySpace.
    2. It is the only place where anyone (including yourself as the developer) can install the application.
  5. The next step is to enter the information about your application for the Application Gallery.
    1. This will require two images, a 16x16 Icon and a 64x64 Badge View More Creative Elements
  6. Each application needs a specification XML this is detailed Here
  7. Paste your code into the correct text area for each surface:
    1. Profile Surface - The code for your application on a user profile.
    2. Canvas Surface - The main canvas page for your application
    3. Home Surface - User home page - visible only to the installed user.
  8. You can now use the code snippets from this wiki entry to create your first app by pasting the code into the different "surfaces" and visiting the different pages to check out the results.
  9. In order for another user to install or view an app, they must be:
    1. Logged in to MySpace (even if the app is on a publicly viewable profile)
    2. A friend of that app

Because of the way that this works you can actually login to MySpace as your app! (Using the email address that you used for the app.) This is why all apps need a unique email address. This also means that your app can add and be friends with other MySpace users.

Things to know

  • The Container: is the JavaScript that surrounds your app. The interface it presents to you is OpenSocial's interface, but the implementation behind the scenes is done by MySpace.
  • The Owner: is the person who has installed the app.
  • The Viewer: is the person who is looking at the app.
  • The Profile: is the view of the app you see on your profile when you have installed it. There can be many Profile views of many different apps on your profile, depending on how many you have installed.
  • The Canvas: is a much larger, single-page view of the app. There is only one Canvas per page.
  • HTTP requests cannot be issued across domains. You cannot simply request data from your site - you must use the in built OpenSocial function makeRequest().

External Links

Navigation

Edit Navigation

Personal tools