This post is also available in: Español (Spanish)
This Twitter bot produces a mashup of the “Bruno Latourbot” and original tweets that use the #swag hashtag. Kazemi describes the selection algorithm in detail in this excerpt from his blog posting about the creation of this bot.
Basically how it works is I get the last 100 Twitter search results for “#swag” that also contain the word “and”. Then I grab the last 100 tweets from @LatourBot. I take every #swag tweet that’s not an RT and push it to an array. I take every @latourbot tweet that has “and” or “,” in it, and push it to an array. Then I say there’s a 50% chance it will be latour-then-swag, and 50% that it will be swag-then-latour. If Latour comes first, I take a random Latour tweet from the array and take all the text up to the “and” or the “,”. Then I take a random swag tweet and take the text after the “and” in it. Then I do latour + ” and ” + swag. There you go.
Here’s a link to the source code.
I suspect the common usage of the term (and Kazemi’s) refers to personal ornamentation, considering the Twitter profile pictures for both Ben Abraham (for whom this bot was created) and Bruno Latourswag (see below).
What is most interesting about this bot is that it places some of Bruno Latour’s language in conversation with popular statements about swag, however one may define it. This bot generates a tweet-sized line of Flarf poetry every 15 minutes, with surprisingly coherent and humorous results.
Featured in Genre: Bot