Methodology Guide on Monitoring and Tracking Online Harmful Speech
This document outlines a methodology developed by GIF to guide civil society partners, researchers, and journalists across roughly 50 countries in monitoring, tracking, and documenting online hate speech and digital violence. It provides step-by-step guidance on account preparation, keyword cataloging, researcher safety, and analytical toolsets such as CrowdTangle, Talkwalker, and NewsWhip across platforms like Facebook, Twitter, and YouTube.
- Provides a standardized tracking framework for civil society partners across nearly 50 countries to identify and catalogue hate speech, online violence, and inauthentic behavior.
- Details practical monitoring workflows, including keyword identification, circumventing content moderation tactics used by bad actors, and researcher digital safety.
- Reviews commercial and platform monitoring tools including CrowdTangle, Talkwalker, Keyhole, NewsWhip, Brandwatch, and Tableau.
12 Choose a version of R and R-Studio from their websites that matches your computer’s operating system. The software includes a console, syntax-highlighting editor that supports direct code execution. It also features tools for plotting, viewing history, debugging and managing your workspace. For superior results, having a 64-bit operating system is preferred. However, for 32-bit computer systems, older versions of R-Studio work just the same. Please consult the website as some computer systems may need installers and additional files. Step 2: Getting and using a Twitter developer account In order to collect data from Twitter, the first thing to do is to apply for a developer account. This is a secure means of using your account to interact with the platform through codes, which used to be free and no approval was needed. However, researchers need to apply for an account on its developer petition page (https://developer.twitter.com/en/portal/petition/essential/basic-info). After creating an account on Twitter's website, researchers should create a Twitter API App. According to Twitter’s user guideline (https://help.twitter.com/en/rules-and-policies/twitter-api), when someone wants to access Twitter's APIs, they must register an application. By default, applications can only access public information on Twitter; certain endpoints—such as those responsible for sending or receiving Direct Messages—require additional permissions from you before these APIs can access various data from the five generically categorized endpoints: Accounts and users, Tweets and replies, Direct Messages, Ads, and Publisher tools and Software Development Kits (SDKs). These APIs can retrieve or create a variety of different resources, including tweets, users, spaces, direct messages, lists, trends and many more resources. The last step in this process is to start pulling tweets from the Twitter API using R-Studio. Here is a summary of the steps involved that is designed for a beginner in collecting data from social media using just a few lines of codes and commands: • While signed on your Twitter account, go to https://developer.twitter.com/en and sign up, • Agree to Twitter’s term of signing up; its “Developer agreement & policy”, • Verify your Twitter Developer Account through the verification email sent, • Back at the Developer Portal page, click “Create New App” and give a name to the new App, • Give a unique name for the new App (it can be changed later), • Three keys will be provided: 1. The API Key: Think of the API key as the username that represents your App when making API requests. It helps us verify who you are. 2. The API Key Secret: Your API Key Secret is like a password and helps verify your API Key. This will be one of the last times you'll see it displayed, so remember to save it in a safe place. 3. The Bearer Token: it is An Access Token used in authentication that allows you to pull specific data. ⁃ These keys verify and allow you to make requests to the Twitter API. ⁃ For security, this will be the last time we’ll fully display the Secret. ⁃ Save them in a secure location ⁃ Treat them like a password or a set of keys. If security has been compromised, regenerate them ⁃ DO NOT store them in public places or shared docs • Go to the App settings button and setup the user authentication settings, which can be changed anytime. This authentication allows users to log in to your App with Twitter. It also allows your App to make specific requests for authenticated users. The following are found under these settings: o App permissions – enable permissions for read, write, direct message, or all, o Type of App – enables a web App, Automated App or Bot, o App information – specifies the destinations for the Callback/Redirect URLs following the authentication process, o Provide additional details such as website URL, organization name, organization URL, terms of service and privacy policy of the App