Hi FLARB, you can do something similar to fb sig verification with myspace. Eddie has done some work on making calls without the AS3 library, so try searching the forum. Or you could use the AS3 lib to try a few calls out and look at the request params, and then duplicate that on your own.
But, anyway, what you do is the js equivalent of a *signed* makeRequest. This passes the opensocial tokens to myspace's proxy, along with your request params. Then the proxy generates an oauth signature and calls your server. You can then validate the call is coming from myspace's servers by generating a signature for the request, using your private key + the oauth params, and comparing your oauth sig, with the one passed from myspace.
In terms of getting the VIEWER and OWNER user id, you can use the REST api, or token based js calls. Again, try searching the forum - I'm pretty sure Eddie has posted code on how to do it, if you don't want to use the as3 lib.