twitter-cleaner
twitter-cleaner copied to clipboard
Twitter API no longer gives read/write by default
As per https://developer.twitter.com/en/docs/apps/app-permissions and https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api Apps do not automatically get Elevated Access any more. You can still automatically get it by filling in a form, but it should be noted that the default keys will only have read permissions until you get Elevated Access AND set up authentication (as answered https://stackoverflow.com/questions/71439161/how-to-generate-twitter-api-access-token-and-secret-with-read-write-permission )
Thus the instructions need updating. Once that's done, the app seems to work fine though.
It would be possible to change it to OAuth2 authorization to delete tweets, but I don't know enough Go and just wanted to use it. With an elevated account it works. you have to pretend to write an app which needs OAuth1.1.