MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in
Blogs from the OpenSocial JS Container Team

Container team updates - Prototype removal, AppData limitations and all around useful bits

Greetings Developers!

 For those who haven't run into me online or at the DevJams, I'm Max Newbould, the product owner/lead developer for the MySpace OpenSocial container.

We are always hard at work and try to make it into IRC and the forums as much as possible, and want to make sure no useful information is only disseminated on a single medium.

 Forthcoming bits (I don't like to give dates but I will post when they are live)

    Global AppData Store - you will soon be able to create fetch/update PersonAppDataRequests with an idSpec of MyOpenSpace.Group.GLOBAL_APP_DATA to store key value pairs accessible to all instances of your application.

    Client Lib Selection - as you may have already read, we are removing prototype 1.5.1.1 as an implicit include on the container.  You can still reference it as detailed here: http://developer.myspace.com/Community/forums/t/1330.aspx.  This was done to ween applications off prototype without explicit inclusion, as the new client JS toolkit selection functionality is coming.

    PostTo - the ability to post to different MySpace areas from inside an application; messages, comments, profiles, bulletins, etc.  This is a huge feature and defined as an extension.

Setting the record straight on AppData  

We had been getting bug reports regarding either getting stale versions from cache, or an update not being honored when a fetch was sent in the same request.

Behind the scenes, MySpace has a highly asynchronous nature to meet our scaling requirements.  An update will persist to databases after being sent, but we cannot guarantee the timing of when that happens.  We're talking 300ms - 3s (3s during peak times/issues), but we need developers to understand this limitation and work with it.  It's perfectly fine to send an update and use the local copy of the key value pair until a new fetch is absolutely required.

 

As always, we love to hear from people using our container and make a huge effort to keep everyone in the loop.  

Thanks much,

Max 

Comments

 

andy said:

I can't wait for PostTo!  Thanks for the update and keep up the great work Max!

March 26, 2008 7:44 PM
 

Roger said:

In terms of postTo.. what would be really useful (before it is "out") is if you could give examples (psuedo code is even fine) of how one would use this.. and what type of content can be posted.

Just so people can wrap their minds around how to use it, and how to never expect it to work.

thanks :)

March 27, 2008 5:52 AM
 

* Echannel Networks* said:

I'm also interested in a postTo example :)

March 27, 2008 2:59 PM
 

Signal Loss said:

As soon as we have it out and released, we're posting the associated js docs, samples and blogging about it.

We're also going to be pushing down the changes detailed above tomorrow - we got held back a week due to unrelated build issues.

April 1, 2008 2:10 PM
 

mNeo said:

For the Global App Data, what kind of limitation will we have? As in, how many key values can we store. Also, can we store a user's (who has installed the app) name/thumbnailURL in this global store? Wishful thinking? :-)

April 3, 2008 12:07 PM
 

Wee said:

Just wanted to let you know that this blog post was not filed under "MySpace Developer Team" so it doesn't show up on the "Blogs" page. I could only find a reference to this post from twitter and from a forum post.

April 3, 2008 5:38 PM
 

Donny Mack (DM) said:

For those interested in Post To - we went live tonight - read more and please ping us with suggestions and bug reports: developer.myspace.com/.../introducing-post-to.aspx

enjoy!

D

April 10, 2008 7:52 PM
 

$Nick York$ said:

yo thats cool

April 12, 2008 1:56 PM