Quando tento chamar o recent_search.py com o comando: python3 recent_search.py
seguinte erro aparece:
400 Traceback (most recent call last): File "recent_search.py", line 63, in main() File "recent_search.py", line 58, in main for json_response in paginate(url, headers): File "recent_search.py", line 49, in paginate data = connect_to_endpoint(full_url, headers) File "recent_search.py", line 40, in connect_to_endpoint raise Exception(response.status_code, response.text) Exception: (400, '{"errors":[{"parameters":{"start_time":["2021-02-15T00:00Z"]},"message":"Invalid 'start_time':'2021-02-15T00:00Z'. 'start_time' must be on or after 2021-10-27T19:52Z"},{"parameters":{"end_time":["2021-02-19T00:00Z"]},"message":"Invalid 'end_time':'2021-02-19T00:00Z'. 'end_time' must be on or after 2021-10-27T19:52Z"}],"title":"Invalid Request","detail":"One or more parameters to your request was invalid.","type":"https://api.twitter.com/2/problems/invalid-request"}')