MySpace PortableContacts endpoint

1 view
Skip to first unread message

Sean Sullivan

unread,
Nov 2, 2009, 12:22:27 AM11/2/09
to portable...@googlegroups.com
My application sends an PoCo request to MySpace with the "format=xml" parameter:

[DEBUG] wire - >> "GET
/v2/people/@me/@self?format=xml&fields=%40all&oauth_token=xyz&oauth_consumer_key=aaa&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1257138908&oauth_nonce=1257138908748143000&oauth_version=1.0&oauth_signature=jHS6%2BxuxHnGCxYeV7y3sCW1u96A%3D
HTTP/1.1[EOL]"


MySpace does not respond with XML. Instead, MySpace responds with JSON:


[DEBUG] wire - << "HTTP/1.1 200 OK[EOL]"
[DEBUG] wire - << "Cache-Control: no-store, no-cache, must-revalidate,
post-check=0, pre-check=0[EOL]"
[DEBUG] wire - << "Pragma: no-cache[EOL]"
[DEBUG] wire - << "Content-Length: 1420[EOL]"
[DEBUG] wire - << "Content-Type: application/json; charset=utf-8[EOL]"
[DEBUG] wire - << "Expires: Sun, 19 Nov 1978 05:00:00 GMT[EOL]"
[DEBUG] wire - << "Server: Microsoft-IIS/6.0[EOL]"
[DEBUG] wire - << "X-Powered-By: ASP.NET[EOL]"
[DEBUG] wire - << "X-Server:
774dbc8fb5f0674398038249670b5f4ee3b40bf2862c5eb2[EOL]"

[... JSON response omitted ...]

Scott Seely

unread,
Nov 2, 2009, 11:34:54 AM11/2/09
to portable...@googlegroups.com
Try hitting the OpenSocial 0.9 endpoint. You should get better results.

http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_People
Reply all
Reply to author
Forward
0 new messages