Hi. I have some trouble with obtainig request_token
Sometime I received http status Code 404 without body data on calling https://api.twitter.com/oauth/request_token.
My request example is below.
url : https://api.twitter.com/oauth/request_token
headers :
{ Authorization: ‘OAuth oauth_callback=“my_callback_url_value”,oauth_consumer_key=“my_consumer_key”,oauth_nonce=“random_nonce_value”,oauth_signature_method=“HMAC-SHA1”,oauth_timestamp=“1438271869”,oauth_version=“1.0”,oauth_signature=“my_signature_value”’,
Host: ‘api.twitter.com’,
Accept: ‘/’,
Connection: ‘close’,
‘User-Agent’: ‘Node authentication’,
‘Content-length’: 0,
‘Content-Type’: ‘application/x-www-form-urlencoded’ }
and my server is on aws singapore region.
I can not find any solution for this problem.
What can I do to fix? Thanks.
Jays.