Twitter CLI is a useful tool for analysing followers etc. on Twitter and allows for exporting into csv files. Twitter CLI on Github
How to set up Twitter CLI on a Mac:
brew install email@example.com echo 'export PATH="/firstname.lastname@example.org/bin:$PATH"' >> ~/.bash_profile source ~/.bash_profile gem install t echo 'export PATH="/usr/local/lib/ruby/gems/2.7.0/bin:$PATH"' >> ~/.bash_profile source ~/.bash_profile
This is using Ruby 2.7 but supposedly you should be able to use Ruby 3 as well.
In addition, this could be help:
gem install twitter -v 6.1.0 gem uninstall twitter -v 6.2.0