Hi everyone,
I had some further question on this issue.
Currently, I’m still suffering on this “Error 32” problem.
I had followed the methods that Salenko advice me and I had used almost 2 weeks to create my codes for nonce, timestamp & signature to allow the oauth could pass me through to the next stage. (This is because im using Embedded C for my project to communicate with Twitter)
Please anyone could advice me how to solve this issue?
Please refer the following method that I had used to POST to twitter.
POST https://api.twitter.com/oauth/request_token HTTP/1.1
Date: Thu,2015 Sep 24 07:01:51 GMT
Host: api.twitter.com
Authorization: OAuth oauth_nonce=“XXX”,oauth_callback=“oob”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“XX”,oauth_consumer_key=“XX”,oauth_signature=“XX”,oauth_version="1.0"
Content-Length:18
Content-Type: application/x-www-form-urlencoded
oauth_callback=oob
Further information:
Date: Get from NTP server (UTC time) & modify to this standard
nonce: Create a 32 byte characters that only contain Alphabets and numbers then encoded into base64 and removed the “=” sign. The total size is 42 bytes after base64 has been encoded
Consumer Key: Get from the twitter app
timestamp: Subtract the current time with 1970-1-1 0:0:0 time
Signature: HMAC-SHA1 the base string with the consumer secret only.
Please help me on this issue. Thanks,