Tweet Thread

I wanted to create a tool for users to easily chain together tweets (a feature of Twitter's) from a block of text. It was something I was surprised hadn't been done and that I wanted to be able to do.

Tweet Thread

Using Laravel Lumen and the PHP Twitter Oauth Package I was able to build Tweet Thread over the course of a couple of weekends. I chose Lumen because I didn’t need to store anything in a database and I wanted the simplicity and speed that Lumen is well known for.

On the front-end I used data binding in Knockout.js to split our string into sections so it could be posted to a side endpoint. I then validate each section to ensure it’s unique.