curl -X POST “https://api.twitter.com/1.1/tweets/search/fullarchive/dev.json” -d ‘{“query”:“string”,“maxResults”:“100”,“fromDate”:“201805030000”, “toDate”:“201806010000”}’ -H “Authorization:Bearer TOKEN”
Bearer TOKEN = Consumer Key : Consumer Secret.
So am i right for Bearer Token?? and if i wrong then suggest me to generate the Bearer token.
when i run this script on console then {“error”:{“message”:“Bad Authentication data.”,“sent”:“2018-06-06T06:45:59+00:00”,“transactionId”:“0045b7d6009317eb”}} OR 401 status code is coming. So please suggest me for the solution.