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 ruby@2.7 echo 'export PATH="/usr/local/opt/ruby@2.7/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