Jan 08, 2015
I had a bit of a lazy morning in bed today, so in response to the surprisingly numerous emails I’ve gotten expressing thanks (or a desire for instructions of use) for the Twilio SMS and media deletion tool I wrote, I decided to tweak things a bit and make it a bit more usable.
Previously, media deletion occurred before SMS deletion, and while the async nature of node didn’t guarantee that everything would happen in the right sequence, the ordering of requests never led to issues until I started using it with larger sequences of texts, and the network bottlenecking threw the rhythm of the script off (obviously no script should have to work with a ‘rhythm’). The script would still run, but it was just messy.