The Letter E Posted August 24, 2012 Share Posted August 24, 2012 I'm trying to retrieve the yahoo contacts for a given user and I've successfully gotten all the way to returning the oauth_token from yahoo, but it's making the final rest request that's bombing for me. I get the following response: Please provide valid credentials. OAuth oauth_problem="signature_invalid", realm="yahooapis.com" Here's the url I'm passing to my curl GET request: $url = 'http://social.yahooapis.com/v1/user/'.$guid.'/contacts?' .'oauth_consumer_key='.$this->yid .'&oauth_nonce='.rand() .'&oauth_signature_method=HMAC-SHA1' .'&oauth_timestamp='.time() .'&oauth_token='.urlencode($params['oauth_token']) .'&oauth_version=1.0' .'&oauth_signature='.$this->ysecret; I'm hoping someone out there will have had a problem with this before and know what pitfalls I should lookout for to fix this problem. Thanks in advance, E Link to comment https://forums.phpfreaks.com/topic/267530-my-yahoo-api-code/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.