writing a tweet deleter, ran into issue where the lib I was using, their api wrappers would return the response on 200 or throwM it on 4xx
-
-
except now it doesn't typecheck (and what exactly was happening confused me for awhile because the library's signatures are weird and...
-
...because I'd been lazy with annotations so unification was failing in some random-ass place)
-
but it's simple! on success the thing is supposed to return a status object! so if you're wrapping with a catch that's what must come out
-
...sooo naturally I just fetch a status when the program starts and hold onto it to return from the handler every time it fails. as you do
End of conversation
New conversation -
-
-
there are already apps / services that do this ICYDK. Unless you're tryna delete tweets based on criteria or something
-
in which case, idk if those exist
-
I generally don't like giving read/write to random third parties tbh. regardless I already finished it anyway so
-
I think about the most damage they could do if malicious and... doesn't seem like that much. As long as no access to DMs
-
would you mind sharing the repo w me?
-
it isn't anything special, I already have a list of the ids I want so I'm just looping through them https://github.com/alicemaz/twdelete …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.