In 140 characters: Capitalising on Twitter’s unique structure opens a new frontier for contextual bots to send intelligent, targeted responses.
From @cnnbrk to @common_squirrel, Twitter is crammed with bots built to deliver content in 140 characters or less. On the whole, this content mirrors traditional RSS feeds (in fact most bots are just RSS feeds fed into Twitter). However, there could be a new generation of bots on the horizon that capitalise on Twitter’s unique design.
Collectively users and bots have made nearly 1.8 billion Tweets. While this number is BIG, it is small in comparison with the number of unique web pages that exist; >1 trillion as of July 2008. Yet, there’s two very unique things about Twitter’s content that makes it much valuable than any other public database of this size.
A Tweet gets to the point
Twitter built the limitation of 140 characters into its Tweets, so that they could easily be sent in an SMS along with the username of the person who sent them. A large part of the success of Twitter is that this forces people to say what they want succinctly without the waffle that you get in web pages, blogs and forum posts. This means that each Tweet is about a specific nugget of information (or meme).
A Tweet is has meta-data
A Tweet has an author, a time and possibly hastags and @reply information that is all incredibly easy to access computationally. While web pages & blog posts also often have this information, it is much harder to access. There’s no simple way to computationally respond to the author of most information on the web.
A new frontier
Together these features lead to some very interesting possibilities for Twitter bots. The succinctness of Twitter makes it relatively easy to determine the information contained in a Tweet - more so if it’s a single question. “Where can I find… ?” “What’s the best…. ?” “How much does … cost?” are all questions regularly appearing in the Twitter stream. Building a Twitter bot that extracts these Tweets & parses them for meaning within a specific niche is reasonably easy. Any Tweet we’re not confident we can parse correctly, we just ignore. From the meta-data attached to a Tweet a bot can trivially respond to the author and reference the Tweet is it replying too. The original author will pick up this response in their @replies and see the link to the Tweet the response is to.
Here at spellr.us we’ve create a bot that demonstrate this concept. Our @_spell bot finds any Tweets with (sp?) in them and returns a spell check on the preceding word. The response we’ve received to this bot has been overwhelmingly positive. Approximately 1/5 of the people we respond to with @_spell follows us back and often send messages of support. We include links to http://spellr.us in both the replies we send (as part of the name of the application sending the Tweet) and in the account bio. Not only have we created a bot that many people find useful, but it also acts as a marketing vehicle for our products.
The possibilities for bots capitalising on this concept is endless. Bots that provide directions, restaurant or product recommendations, or weather information are just a few ideas. As Twitter grows the number of people a simple bot will reach continues to increase.
Where’s the line?
A caveat here is that we must be careful about sending spam. Unsolicited bulk messages are unwelcome in all messaging mediums. While Twitter has guidelines regarding how bots can follow users and send direct message, @replies are not regulated. We need to make sure that we don’t create bots that spam @replies to every user that mentions a product name or topic. By obeying two rules we can make sure that our bots remain good citizens;
1) Only reply to people to solicit responses - i.e. their Tweet contains a question.
2) Only provide responses that you can virtually guarantee will be useful.
Do you like this idea? Have you created a contextual Twitter bot? Let us know in the comments.

