I'm kind of stuck on using the datastore api of opensocial. According to this. The returned Data is indexed by the user id. When I try to get the userid of the owner object on myspace, I get something like "myspace:123456" with the number being the required user id. So I can't access the fields with var mydata = data[owner.getId()]; Sure, I could parse the string returned by owner.getId but that would break the compability of that gadget with other opensocial containers, wouldn't it? Am I missing something?