Welcome Developers!

in

Welcome!

in

Myspace OAuth PHP SDK throws Fatal error

Last post 06-16-2011 7:46 AM by D.Thiyagesan. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-16-2011 7:46 AM

    Myspace OAuth PHP SDK throws Fatal error

    Hello, MDP team and All

    I'm using Myspace OAuth PHP SDK to fetch some profile informations. When I click the link, it authenticates the user, but when it returns back to the Call back url I am getting the following error.

    Fatal error: Uncaught exception 'MySpaceException' with message 'Request to http://api.myspace.com/access_token?oauth_version=1.0&oauth_nonce=XXXXXXXXXXXXXXXXXXXXXXXXXXX&oauth_timestamp=1308231662&oauth_consumer_key=http%3A%2F%2Fwww.myspace.com%2FXXXXXXXXX&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&oauth_signature_method=XXXXXXXXXX&oauth_signature=XXXXXXXXXXXXXXXXXXXXXXXXXXX failed: HTTP error 401 (<error xmlns="api-v1.myspace.com"><statuscode>401</statuscode><statusdescription>This endpoint is for External MySpaceID applications only (offsite apps)</statusdescription></error>)' in C:\xampp\htdocs\Thiyagesan\test\myspace-oauth-php\MySpace\myspace.php:193 Stack trace: #0 C:\xampp\htdocs\Thiyagesan\test\myspace-oauth-php\MySpace\myspace.php(153): MySpace->http('http://api.mysp...') #1 C:\xampp\htdocs\Thiyagesan\test\myspace-oauth-php\MySpace\myspace.php(86): MySpace->oAuthRequest('http://api.mysp...') #2 C:\xam in C:\xampp\htdocs\Thiyagesan\test\myspace-oauth-php\MySpace\myspace.php on line 193

    I 've replaced the keys into XXXX...

    I'm looking forward to your solution, so please reply soon...

    Thanks.

Page 1 of 1 (1 items)