Hello There,
I have purchased the premium api and trying to access the twitter data but unable to get the response. I have setup the environment using correct label but no success. Both api’s 30day/fullarchive not working
I am hitting this curl request from my mac terminal/ssh
curl -X POST “https://api.twitter.com/1.1/tweets/search/30day/Development.json” -d ‘{“query”:“nasa”,“maxResults”:“5”,“fromDate”:“201701010000”,“toDate”:“201808080000”}’ -H “Authorization: Bearer ACCESS_TOKEN”
curl -X POST “https://api.twitter.com/1.1/tweets/search/fullarchive/staging.json” -d ‘{“query”:“nasa”,“maxResults”:“5”,“fromDate”:“201701010000”,“toDate”:“201808080000”}’ -H “Authorization: Bearer ACCESS_TOKEN”
{“error”:{“message”:“Invalid or expired token.”,“sent”:“2018-08-16T16:49:26+00:00”,“transactionId”:“XXXXXXXXXXX”}}