Hi, I have a desktop app that uses oob callback. After getting the PIN verifier, the request for access token/secret always fail the first time, returning with a 401 error. However, if I start over again from getting request token, then access token/secret request will succeed. I’m not using Twitter libraries, and making the calls directly in C++.
Here’s the example header in my request:
Authorization: OAuth oauth_consumer_key=“XXX”,oauth_nonce=“5634050683455406263”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1311779647”,oauth_token=“XXX”,oauth_verifier=“2559680”,oauth_version=“1.0”,oauth_signature=“CVcCM3nTHK0O8J2yZeEPf7E%2BoAI%3D”
I don’t think this is an error with the signature or the header, since subsequent tries succeed. It’s also hard to replicate for me to test and debug, since subsequent tries succeed. Has anyone encounter a similar issue?