QTweetLib and request_token (PIN Authorizing)


#1

I’ve just compiled QTweetLib on my linux host. I’ve compiled and run pinauthstatusupdate example without any changes. But when I try to get request_token I’ve get:

Failed to validate oauth signature and token

I synced time on my host:

using
sudo ntpdate pool.ntp.org

But no changes…

The I changed consumer keys with keys which Twitter creates for my application. But I got same problem.

I checked the base string using http://quonos.nl/oauthTester/ and it says my base string is OK.

Here is raw header which QTweetLib creates:

OAuth oauth_consumer_key="YImPrR11sLxv0ZjjKAskA",oauth_signature_method="HMAC-SHA1",oauth_signature="WQnBaTgyuU6HkPT7DqTkNK1MT5c%3D",oauth_timestamp="1325542113",oauth_nonce="J5oUsjoOE34e1iTE",oauth_version="1.0"

So what’s the problem?


#2

I’ve just compiled QTweetLib on my linux host. I’ve compiled and run pinauthstatusupdate example without any changes. But when I try to get request_token I’ve get: