Hello!
I have a problem while trying to authenticate to Twitter API.
I based on Suresh implementation :
My urls are :
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”;
Here is the result of my signature base:
GET&https%3A%2F%2Fapi.twitter.com%2Foauth%2Frequest_token&oauth_consumer_key%3Dvalue%26oauth_nonce%3D4448975%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1377452265%26oauth_token%3Dvalue%26oauth_version%3D1.0
Here is my request :
https://api.twitter.com/oauth/request_token?oauth_consumer_key=value&oauth_nonce=4448975&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1377452265&oauth_token=value&oauth_version=1.0&oauth_signature=pI/fiPW7ddgF7sCQnUQINmQrMLo=
I I paste this value to my browser, I receive “Failed to validate oauth signature and token”
The time is correctly configure and the credentials are the good ones for sure.
I’m actually working on localhost and I don’t fill the callback.
Is somebody got an idea on that problems?
Thank you very much!