For some time now, the user service seem to have been broken. When I make a request, I get
CODEBOX
<User isMember="0" ymid="0" explicitLyrics="1" parentalLock="0" ratingWidget="0" countryCode="" ymtTimestamp="1282494041">
I'm using YBBauthREST and have confirmed that my signature is valid.
code:
CODEBOX
$authObj = new YBrowserAuth(APPID, SECRET);
// Validate the sig
if ($authObj->validate_sig()) {
echo '<h2>BBauth authentication Successful</h2>';
echo '<h3>The user hash is: '.$authObj->userhash.'</h3>';
echo '<b>appdata value is:</b> '. $authObj->appdata . '<br />';
$restObj = new YBBauthREST(APPID, SECRET);
if ($restObj->validate_sig()) {
echo "sig validated!\n";
$url = "http://us.music.yahooapis.com/user/v1/item/current";
$xml = $restObj->makeAuthWSgetCall($url);
echo "xml is <pre><xmp>" . $xml . "</xmp></pre>";
}