MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Invalid digital signature for base string

Last post 07-15-2008 12:50 AM by Pramod. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-15-2008 12:50 AM

    • Pramod
    • Not Ranked
    • Joined on 02-24-2008
    • Posts 1

    Invalid digital signature for base string

    Hi,everybody i am a novice in building myspace application....

    am using the code listed below.... 

    $myspace = new MySpaceAPI($key,$secret);

    echo $user = $_GET["opensocial_viewer_id"],"*";

    $smarty->assign("viewer_id",$user);

    $result = $myspace->get_user($user);

    echo $result['displayname'];

    I have curl extension enabled in my server,do i need to use pear instead?

    am using php official library,can anyone help me out,am getting an errror like this:

    " 'Exception' with message '401 401Invalid digital signature for base string: GET&http%3A%2F%2Fapi.myspace.com%2Fv1%2Fusers%2F341120596.XML&oauth_consumer_key%3Dhttp%253A%252F%252Fwww.myspace.com%252F387419168%26oauth_nonce%3Da6729294f12c3a1bd1daefc82d98f532%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1216105905%26oauth_token%3D%26oauth_version%3D1.0' in /hsphere/local/home/pramodkumar007/heycosmo.eparadise-india.com/prankster/PHPLib/myspace/BaseAPI.php:62 Stack trace: #0 /hsphere/local/home/pramodkumar007/heycosmo.eparadise-india.com/prankster/PHPLib/myspace/MySpaceAPI.php(172): BaseAPI->_do_get('http://api.mysp...', NULL) #1 /hsphere/local/home/pramodkumar007/heycosmo.eparadise-india.com/prankster/PHPLib/myspace/MySpaceAPI.php(33): MySpaceAPI->do_get('users/341120596', NULL) #2 /hsphere/local/home/pramodkumar007/heycosmo.eparadise-india.com/prankster/prankster_prank in /hsphere/local/home/pramodkumar007/heycosmo.eparadise-india.com/prankster/PHPLib/myspace/BaseAPI.php on line 62 "

    please help... 

Page 1 of 1 (1 items)