There are several improvement to be made, the big one is to use Twitter auth callback so you don't need a new pin from Twitter for every tweet.
Next is uploading images.
The callback only I can add because it's related to the Twitter API application on my developer account, but I'll start a bounty of 10000 sats for someone to implement image uploads.