skip to Main Content

Twitter API: timestamp out of Bounds when calling oauth request_token

I am trying to integrate the oauth flow in my application. I am getting a 401 when calling the oauth/request_token endpoint with this error: "message": "401 - {"errors":[{"code":135,"message":"Timestamp out of bounds."}]}" This is my authorization header: "Authorization": "OAuth oauth_callback=http%3A%2F%2F127.0.0.1%3A3000%2Ftwitter%2Foauth_callback,oauth_consumer_key=MYKEY,oauth_nonce=150255341200200,oauth_signature_method=HMAC-SHA1,oauth_timestamp=1502553412002,oauth_version=1.0,oauth_signature=d09f2f2a39e51909442ae6ca717e4aeba7066fda" I…

VIEW QUESTION

Can I call the Twitter API in client using Fetch?

I am trying to call the Twitter API in a React App and get the following error Fetch API cannot load https://api.twitter.com/1.1/account/verify_credentials.json. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.…

VIEW QUESTION

Twitter API does not authenticate properly

I have used postman to test request with Twitter API (https://api.twitter.com/1.1/statuses/user_timeline.json), but it gives me {"errors":[{"code":215,"message":"Bad Authentication data."}]} My header is: Authorization:OAuth oauth_consumer_key="MLcGSZNPmn2un5DKbtgnYi8JY",oauth_token="%20751004957898342400-YYpLg5dayAHVkaG47H9NVVkZiE7Z2bc",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1468092744",oauth_nonce="ABCDEFGHIJKLMNOPQRSTUVWXYZ123456",oauth_version="1.0",oauth_signature="fkf0NE2PmDLQZY%2BzMa7gQmA72kU%3D" and postman auth setting is: How can I solve this?

VIEW QUESTION
Back To Top
Search