Hi,

As mentioned by many people, that a failure in the stage of
request_token is probably caused by the unsynchronized system clock.
That is somehow not the reason for my problem where I tried to
implement the OAuth in java.  Basically, the requested url plus the
parameters is as:

https://twitter.com/oauth/request_token?oauth_consumer_key=rfuDvUfcKACTug7tJQNQ&oauth_nonce=7987404850514744029&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1252395244&oauth_version=1.0&oauth_signature=o2Vl8W8IlVTNQb0ylmvOWIDgUU8%3D

I used the "(long) Date.getTime()/1000" to get the current time in
seconds and my system clock is synchronized anyway (GMT+2:00). It
keeps returning "Failed to validate oauth signature and token", I
really don't know why this could happen.

Any solution? Thanks.

Reply via email to