I'm having problems validating also, and would really like to know something - My base strings match up exactly when using the Oauth Tool, or at least they appear to. Is it possible that, although they are showing the same characters, they could still be different through character type?
Other than that, I have no clue why it's not validating. I've been using code that seems to work for most people here:
$this_url = strtolower('http://www.mydomain.com/index.php');
$myspace_secret="xxxxx"; //your myspace secret key
$opensocial_viewer_id=$_GET[opensocial_viewer_id];
$oauth_signature=$_GET[oauth_signature];
// check the sigs and make sure its the real deal
$remote_signature = $_GET['oauth_signature'];
unset($_GET['oauth_signature']);
ksort($_GET);
$url_me=urlencode($this_url);
$g_me=urlencode(http_build_query($_GET));
$base_string = "GET&$url_me&$g_me";
$secret = $myspace_secret."&";
$local_signature = base64_encode(hash_hmac("sha1", $base_string, $secret, TRUE));
if ($remote_signature == "$local_signature"){
echo 'success';
}
I've tried several different codes also, still with no luck. Anyone have any ideas?