MySpace Developer Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Let me see my app!

Here's a walkthrough on how to work with some of the restrictions during the current developer sandbox phase that Kyle pointed out here.


So let's assume you've gotten on the whitelist, logged in to the developer site, started creating an app and you're at the point of saving your chunk of code (for a walkthrough of that process, see here )... now how do you actually see your app live?


First you need to install it by getting to the App Profile:


An App Profile (see "Anatomy of a MySpace App" for a more complete explanation) is your app's very own MySpace profile. It's automagically created along with each app. Most importantly, it's the *only* place where anyone (including yourself as the developer) can install the app.


To get to it from the Application Builder, click on the "Edit App Information" link on the left nav:


 
 

From the Edit App Information page you can click the "Visit Profile Link"


 

From the app profile you can click the "Install Application" button and the page will redirect you to the app after installing.

Great! Now you have your app installed and YOU can see it… but how come no one else can see it!?

All apps are hidden from viewers unless the viewer is friends with the app's profile during the developer sandbox phase. Likewise, App Profiles are private by default. Keep in mind that the app’s friends are not the developer’s friends. Remember your app has its OWN distinct profile! As the developer of the app, you're automatically the app’s first friend and that's why you're allowed to see the app.


Thus, 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

So the natural question that follows is: "How does my app add friends?"


Well you can actually login to MySpace as your app. Remember the email and password you entered when you first created your app on the developer site (on this very first page)?

Hopefully you have them handy... just use those credentials to sign back in to MySpace as your App Profile:


 
Now you're logged in under the app’s profile and can add friends:


To add a someone as a friend of the app, go to their profile, for example:



Click "Add To Friends" and continue to follow the standard MySpace procedure for adding friends.


Once your app's new friend accepts the request, she can install the app (if the three installation limit hasn't been reached yet!) or view the app on profile's where the app is installed.    
Understandably, some of the above can be somewhat cumbersome and confusing, however in the future this “private” state is fundamentally designed to allow your app to be in “stealth” development mode, while still allowing for your app to be shared amongst a controlled set of users.

-- Chris

Comments

 

Charlie said:

I hope this doesn't mean that I need to personally either invite or approve every person that wants to see or use my app...

Can I have it automatically accept any invitation someone else makes to befriend it after the sandbox phase ends?

February 5, 2008 4:52 PM
 

MySpace Applications - Top 10 said:

Chris, thanks so much for the guide! I can't wait to release my survey app :)

February 5, 2008 11:05 PM
 

Chris said:

Yes, when the sandbox phase ends, you'll be able to release it so anyone can openly install it.

February 6, 2008 1:55 PM
 

Roger said:

So.. the great question!

Will Myspace be releasing.. any dates.. regarding.. well.. anything..

Sandbox length?

Compliance with 0.6

Migration to 0.7

If apps eventually will have a "real" application URI per Opensocial spec..

February 12, 2008 12:09 PM
 

Marko said:

Tra la la

March 28, 2008 3:41 AM
 

Michael said:

This does not work anymore, something changes. I was ablet to add teh app this way and test last week, but sometime over the weekend something changed and I can not longer add my own apps to my profile. So... how the heck am I supposed to test my apps now?

April 28, 2008 6:57 AM