A Twitter bot is a type of software bot that controls a Twitter account via the Twitter API. The social bot software may autonomously perform actions such as tweeting, re-tweeting, liking, following, unfollowing, or direct messaging other accounts. The automation of Twitter accounts is governed by a set of automation rules that outline proper and improper uses of automation. Proper usage includes broadcasting helpful information, automatically generating interesting or creative content, and automatically replying to users via direct message. Improper usage includes circumventing API rate limits, violating user privacy, spamming, and sockpuppeting. Twitter bots may be part of a larger botnet. They can be used to influence elections and in misinformation campaigns.
Twitter's policies do allow non-abusive bots, such as those created as a benign hobby or for artistic purposes, or posting helpful information.
Many non-malicious bots are popular for their entertainment value. However, as technology and the creativity of bot-makers improves, so does the potential for Twitter bots that fill social needs. @tinycarebot is a Twitter bot that encourages followers to practice self care, and brands are increasingly using automated Twitter bots to engage with customers in interactive ways. One anti-bullying organization has created @TheNiceBot, which attempts to combat the prevalence of mean tweets by automatically tweeting kind messages.
Concerns about political Twitter bots include the promulgation of malicious content, increased polarization, and the spreading of fake news. A subset of Twitter bots programmed to complete social tasks played an important role in the United States 2016 Presidential Election. Researchers estimated that pro-Trump bots generated four tweets for every pro-Clinton automated account and out-tweeted pro-Clinton bots 7:1 on relevant hashtags during the final debate. Deceiving Twitter bots fooled candidates and campaign staffers into retweeting misappropriated quotes and accounts affiliated with incendiary ideals.