Название: Bots
Автор: Nick Monaco
Издательство: John Wiley & Sons Limited
Жанр: Кинематограф, театр
isbn: 9781509543601
isbn:
APIs – How bots connect to websites and social media
Before diving into the main categories of bots, we’d like to note the importance of Application Programming Interfaces, or “APIs” in driving bot development in the modern era, the tool through which most social media bots connect to do their work. Social bots proliferated dramatically in the early aughts and the 2010s, largely as a result of more widespread connectivity, the declining cost of computing and bandwidth, and the rise of social media. Social bots are not confined to any one particular platform – they can appear on basically any social media platform, including Twitter, Facebook, Instagram, Gab, Reddit, and YouTube; encrypted chat applications like Telegram and LINE; or regular websites more generally (Assenmacher et al., 2020; Boshmaf et al., 2011; Confessore et al., 2018; Dubbin, 2013; Massanari, 2016; Monaco, 2017; Morales, 2020; Read, 2018; S. Woolley et al., 2019). (We will talk more about how social bots are used on each platform in our chapters on social and political bots.) But the technical design of certain platforms makes them more hospitable to bot activity. This has to do with the website’s API.
APIs are a sort of platform-behind-the-platform, a place where computer programs can easily gather data and/or interact with users on social media sites. The data that computer programs can gather from APIs, as well as what actions they can perform on the site, are pre-defined by the architects of that API. For example, on Twitter, computer programs can post messages from a Twitter account, follow other users, or retweet other users’ posts, among many other things (Zi et al., 2010). Bots that use API access are generally fairly easy to program and can be easily created by people with little technical skill. Many of the bots on social media sites, especially the earliest incarnations, were relatively simple bots that used APIs (Woolley, 2020a).
It is also possible to program bots that interact with users on social media sites without using APIs. These bots typically imitate human users by accessing a website through a browser (such as Google Chrome or Mozilla Firefox) to interact with specific parts of the website. These bots perform the same functions as human users by following a set of programmatic instructions. They can run invisibly on a computer, and for this reason are often referred to as “headless” (a reference that uses a visible browser as a metaphor for a head). Headless bot behavior can be automated using software packages such as Selenium, Puppeteer, and PhantomJS.12 For example, a skilled developer could use Selenium to write a program that launches Mozilla Firefox, logs into Twitter, and composes a Tweet that uses the top trending hashtag in the US and includes the @-mentions of three other users who recently used the same hashtag. Generally, headless bots and scrapers require a fair amount of technical skill to program, and they are more useful for passive intelligence and data collection than for direct interaction with other users. However, tutorials for programming these bots are freely available online (Mottet, 2019).
Social bots
The first type of bot worth noting, and one of the most widespread on- and offline, is the social bot. In the broadest sense, social bots13 (like the other types of bots we have discussed) are automated computer programs, but this subcategory of bots is specifically designed to interact with humans. For example, ELIZA, the conversational computer program that imitated a psychotherapist, could be considered an early social bot (Weizenbaum, 1966). Recently, though, the term has taken on a very specific meaning in the popular imagination: since social media appeared in the 2000s, the term has increasingly come to mean computer programs that pose as humans on websites and social media, often designed to promote/criticize a specific product, politician, or message.
Social bots can converse with other users on social media, but they can also be used for other purposes. Votebots can skew the results of online polls. As fake followers, social bots can be used to artificially inflate the popularity of celebrities and politicians. They can skew social media trends by promoting or amplifying content, such as commercial products or political messages. Using the same amplification techniques, they can drown out content their designers do not approve of. “Benign” or creative bots promote art or make jokes. In short, social bots are as diverse as humans.
Chatbots
Chatbots are computer programs that are designed to converse with humans through text or speech (with varying degrees of success). The first chatbot was Weizenbaum’s ELIZA, designed in the 1960s, and chatbots remained popular in MUDs, Usenet and IRC through the 1990s. Popular modern chatbots include the AI assistant systems such as Amazon Alexa, Google Home, or Apple’s Siri and the commercial chatbots often used for online customer service.
Most chatbots work in one of two ways. Some use pattern searching and pre-composed responses to simulate conversation; this is how ELIZA operated. Others use more advanced AI techniques, such as fuzzy logic or the generation of dynamic responses based on a database (or “corpus”) of typical responses. The latest chatbots incorporate advanced machine learning techniques to boost dynamic conversational capabilities and approach human-like discourse. In 2020, OpenAI’s GPT-3 bot took chatbots’ conversational abilities to new heights using vast troves of language data and AI techniques to mimic different styles of writing (Economist, 2020). We’ll delve into these techniques more deeply in Chapter 5, Bots and Artificial Intelligence.
Service bots and bureaucrat bots
Automated agents are often used to carry out the same tasks humans do, but much, much faster and more consistently than humans ever could. This ability can be used in the commercial realm to simplify workflows and facilitate information dissemination. For example, newsrooms frequently automate the publishing, posting, and dissemination of new articles on social media sites using news bots (Lewis, Guzman, et al., 2019; Lokot & Diakopoulos, 2016; Thurman et al., 2019). In some cases, news bots are used to write stories, especially formulaic reports that rely on routine data; in 2016, The Washington Post’s Heliograf bot composed brief stories on hundreds of election race results (Peiser, 2019; WashPostPR, 2018).
Bots’ efficiency and consistency can also be useful for taking care of non-commercial routine tasks. For example, the DoNotPay bot is a service bot that helps users cut red tape, automating the process of contesting parking tickets online in cities around the world (Mannes, 2019). The bot saves users time by automating the rote legal process, making it quicker and easier to contest tickets; it has saved users millions of dollars in fines since it launched (Johnson, 2016).
Crawlers/spiders
As we saw in the previous discussion of 1990s bots, automated agents are also extremely useful for collecting and organizing large bodies of data and information. For example, during the 2014 mayoral race in the Taiwanese city of Taipei, bots enabled data analytics companies to gather real-time data on voter preferences and reactions to candidates’ campaign messages (Liu, 2019; Monaco, 2017). These infrastructural, non-social bots, which often operate quietly in the background, passively surfing websites and gathering information, make up the bulk of bot activity online. When several cybersecurity firms recently reported that bot traffic exceeds human traffic on the web (Imperva, 2020; LaFrance, 2017), they did not mean social troll bots intended to sow political chaos on Twitter. As we have seen, there are many types of bots. When reading reports like these, readers must play close attention to the context in which the word “bot” is used: in these reports, “bot” mainly meant crawlers and spiders, which “are an infrastructural element of search engines and other features of the modern World Wide Web that do not directly interact with users on a social platform, and are therefore considerably different than automated social media accounts” (Gorwa & Guilbeault, 2018).
Spambots
As we saw above, spambots are computer СКАЧАТЬ