Note that there are some explanatory texts on larger screens.

plurals
  1. PO401 unauthorize twitter api 1.1 (https://api.twitter.com/oauth/request_token)
    text
    copied!<p>I have a problem while trying to authenticate to Twitter API.</p> <p>I based on Suresh implementation : <a href="http://www.aspdotnet-suresh.com/2012/05/add-twitter-login-authentication-to.html" rel="nofollow">http://www.aspdotnet-suresh.com/2012/05/add-twitter-login-authentication-to.html</a></p> <p>My urls are :</p> <pre><code>public const string REQUEST_TOKEN = "https://api.twitter.com/oauth/request_token"; public const string AUTHORIZE = "https://api.twitter.com/oauth/authorize"; public const string ACCESS_TOKEN = "https://api.twitter.com/oauth/access_token"; </code></pre> <p>Here is the result of my signature base:</p> <pre><code>GET&amp;https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&amp;oauth_consumer_key%3Dvalue%26oauth_nonce%3D4448975%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1377452265%26oauth_token%3Dvalue%26oauth_version%3D1.0 </code></pre> <p>Here is my request :</p> <pre><code>https://api.twitter.com/oauth/request_token?oauth_consumer_key="consumer_key_value"&amp;oauth_nonce=4448975&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_timestamp=1377452265&amp;oauth_token="token_value"&amp;oauth_version=1.0&amp;oauth_signature=pI/fiPW7ddgF7sCQnUQINmQrMLo= </code></pre> <p>If I paste this value to my browser, I receive "Failed to validate oauth signature and token"</p> <p>The time is correctly configure and the credentials are the good ones for sure.</p> <p>I'm actually working on localhost and I don't fill the callback.</p> <p>Is somebody got an idea on that problems?</p> <p>Thank you very much! </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload