Starting February 9, we will no longer support free access to the Twitter API, both v2 and v1.1. A paid basic tier will be available instead
Responding to feedback, Twitter will enable a light, write-only API for bots providing good content that is free