Make a Bot that Iterates, Enumerates or Exhausts

Twitter Bot Workshop

For this assignment I wanted to tweet out every last paragraph in a Dan Brown book. For those of you who don’t know, Dan Brown’s signature move is to end a paragraph with one-word italics:

Chaos”

Darkness”

Silence”

This is a huge source of amusement for me that understand the appeal of Dan Brown books but think that his prose is garbage! At any rate, I had to change the parameters to “chapter endings” generally. This is because even though most paragraphs worked beautifully with the 140 character max, even Dan Brown will through in the occasional 4 sentence paragraph at the end of a chapter.

Unfortunately, I wasn’t able to finish getting the bot up and running in node. Using the crontab scheduler hasn’t worked for me so far, but when it does I’ll update this post.

Leave a Reply

Your email address will not be published. Required fields are marked *