Welcome Developers!

in

Welcome!

in

myspace php sdk Oauth throws HTTP error 401

Last post 12-14-2011 8:09 AM by Vitaly. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-09-2011 11:58 AM

    • Prom
    • Not Ranked
    • Joined on 03-09-2011
    • Posts 1

    myspace php sdk Oauth throws HTTP error 401

     Hi, I downloaded a code from https://github.com/myspace/myspace-php-sdk, updated the config file and the index file callback url in the "myspaceid-oauth". When I try the url "http://sitename.com/myspace/samples/myspaceid-oauth/" I get the following error:

    Fatal error: Uncaught exception 'MySpaceException' with message 'Request to http://api.myspace.com/request_token?oauth_version=1.0&oauth_nonce=66bd7a6d05fcdf2653481d6f4040549a&oauth_timestamp=1299699588&oauth_consumer_key=XXXXXXXXXXXXXXXXXXXXXXXXXXX&oauth_callback=http%3A%2F%2Fsitename.com%2Fmyspace%2Fsamples%2Fmyspaceid-oauth%2Findex.php%3Ff%3Dcallback&oauth_signature_method=HMAC-SHA1&oauth_signature=3FRO1uF%2F49Tx2VTBq0c21medJTE%3D failed:<br/><br/> HTTP error 401 <br/><br/> Response:<br/><br/> HTTP/1.1 401 Unauthorized Cache-Control: private Content-Length: 31 Content-Type: application/x-www-form-urlencoded; charset=utf-8 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET WWW-Authenticate: OAuth realm="http://api.myspace.com/authorization", oauth_problem=signature_invalid Set-Cookie: MSCulture=IP=174.120.104.2&IPCulture=en-US&PreferredCulture=en-US&PreferredCulturePending=&Country=VVM=&ForcedExpiration=634352675876874737&timeZone=0&myStuffDma=&myStuffMarket=&USRLOC=QXJlYUNvZGU9NzEzJkNpdHk9SG91c3RvbiZDb3Vu in /home/sitename/public_html/myspace/source/MySpaceID/myspace.php on line 1607

    I noticed a lot of people get this error and were told to send a Wireshark http capture to developerrelations@myspace-inc.com. I did that about 3 or 4 weeks ago, sent follow up emails but still no answer from myspace.

    I would like to include myspace in my site using oauth. Could anyone help me?

     Thanks in advance

  • 06-16-2011 7:01 AM In reply to

    Re: myspace php sdk Oauth throws HTTP error 401

    I'm working with localhost, and I'm also getting the same Fatal error. If you have the solution plz share it....

    Thanks.

  • 12-14-2011 8:09 AM In reply to

    • Vitaly
    • Not Ranked
    • Joined on 12-14-2011
    • Posts 1

    Re: myspace php sdk Oauth throws HTTP error 401

     I have the same error. Please help!

Page 1 of 1 (3 items)