pruvisto/debirdify

Allow to upload lists

Closed this issue · 5 comments

It's great that we can search within lists #2 but sometimes I have a list of handles I'm interested in for various reasons (someone else's Twitter list I follow, other random lists, Wikidata items or other). It's tedious to move these to my own lists, so it would be great to be able to upload a CSV file or simple txt with a list of handles to check.

Sounds reasonable. I'll put it on my to-do list.

Now implemented and live as of 0227f54.

It works and it's super fast, I already made extremely important discoveries.

According to https://help.twitter.com/en/managing-your-account/twitter-username-rules the regex should be something like ^([A-Za-z0-9_]{1,15})$. It might also be wiser to skip non-matching usernames, otherwise you can get suggestions (or error messages) completely unrelated to the usernames uploaded. (I got the handle of some random ashton just because I searched Ashton5SOS.)

You're right – a silly oversight on my end. Fixed now.

Invalid usernames are also completely skipped now – the original intention was that something like a CSV file with Twitter handles in the first column should also be accepted, but I think that just unnecessarily complicates the matter.