Errore: non valido auth / Bad Request (ottenuto un 401, atteso HTTP / 1.1 20X o un redirect)

StackOverflow https://stackoverflow.com/questions/8819692

Domanda

Perché ho ottenuto questo errore quando uso seguente codice?

$customer_key = 'my_key';
$customer_securet = 'customer_securet';                
$a = new Oauth($customer_key, $customer_securet, OAUTH_SIG_METHOD_HMACSHA1, OAUTH_AUTH_TYPE_AUTHORIZATIONl);
$a->getRequestToken('https://api.login.yahoo.com/oauth/v2/get_request_token?oauth_callback=http://mysite.com/invitehandler.php?provider=yahoo');

Error: Invalid auth / Bad Request (ottenuto un 401, atteso HTTP / 1.1 20X o un redirect)

È stato utile?

Soluzione

I found my problem myself..

Its just needed update server time!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top