Reference: http://developer.myspace.com/Community/forums/t/850.aspx
I'm still seeing every other request fail when I run batched updates for appData... any status on a fix for this? Anybody come up with a hackaround? I suppose I could send in a bunk request every other time, but then we still don't get a working global error...
<script type='text/javascript'>
function appDataFail( ){
var container = opensocial.Container.get();
var dataRequest = container.newDataRequest();
var os_viewer = opensocial.DataRequest.PersonId.VIEWER;
for( var i = 0; i < 10; i++ ){
dataRequest.add(
container.newUpdatePersonAppDataRequest( os_viewer, 'key' + i, i ),
'response_key' + i
);
}
dataRequest.send( showErrors );
}
function showErrors( data ){
console.log( data );
}
appDataFail();
</script>