2 ms·
Assuming Twitter mutuals means "users I follow and who follow me back", I'd like to recommend the great `t` gem, a Ruby CLI that even though it's a bit dated, i
by danso 8y ago
Assuming Twitter mutuals means "users I follow and who follow me back", I'd like to recommend the great `t` gem, a Ruby CLI that even though it's a bit dated, is still one of the easiest tools to setup and use on a regular basis:
https://github.com/sferik/t https://github.com/sferik/t
Gathering mutuals in CSV format (making it easy to sort by number of followers, tweets, location, etc) is as easy as:
$ t friends --csv > my-twitter-mutuals.csv
It's been awhile since I've looked at the source code, but the library does a good job of using the most efficient/least-restrictive calls. I have about 6,000 mutuals out of all my followers and folllowings and the `t` tool takes about 10 seconds to do all the calls needed.
- LeoPanthera 8y agoUnfortunately "t" is abandoned, and a lot of the Twitter API has changed since the last release, meaning a lot of its functions are broken.
- danso 8y agoYeah, it hasn't been updated since 2017. But the user lookup (which includes fetching your or any users' list of followers/followings/mutuals) seems to work as well as ever, likely because the pertinent API endpoints haven't changed much. I still sometimes use `t` to do a quick fetch of the last 3,200 tweets of any user in CSV format. Though I now prefer using the `twarc` Python library, which is still being actively updated and gives the ability to preserve the data in its original JSON: https://github.com/DocNow/twarc https://github.com/DocNow/twarc