rbannur:Try this - http://developer.myspace.com/Modules/APIs/Pages/OAuthTool.aspx
I used the OAuth Tool and it generated the following URL (which returned valid json data):
http://api.msappspace.com/v1/users/321144008.json?oauth_consumer_key=http%3A%2F%2Fwww.myspace.com%2F329910273&oauth_nonce=7a0daa2b-5967-4417-a791-0409e9a2d182&oauth_signature=tQ%2Bx6LSsHwNkdH2PXneBwm5vavE%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1202436926&oauth_token=&oauth_version=1.0
Which is almost the same as the url my code puts out (which generates a 401 error):
http://api.msappspace.com/v1/users/321144008.json?oauth_consumer_key=http%3A%2F%2Fwww.myspace.com%2F329910273&oauth_nonce=c141e3a7528fcd7ffcebfba34be55772d48f&oauth_signature=yYhsIUDrpEstRhvssbL1yxSM96U%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1202437082&oauth_token=&oauth_version=1.0
So the input variables must be ok, so it must be something in the digital signature or some field in the URL is not being built correctly, but I am running out of ideas...
Jonathan