getFollowerIDs: Downloading the follower ids of a list of users

Description Usage Arguments Value

View source: R/getNetworks.R

Description

This function takes a single or a list of users (user id or user screen name) and downloads the followers of each user. Either of screen_name_list or user_id_list must be provided

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
getFollowerIDs(
  screen_name_list = NULL,
  user_id_list = NULL,
  auth_df,
  sleepTime = 30,
  max_per_user = 15000,
  verbose = F,
  jsonPath = NULL,
  namePattern = "fol-",
  return_results = T
)

Arguments

screen_name_list

A list of Twitter screen names

user_id_list

A list of Twitter numerical ids (as character)

auth_df

The dataframe containing the Twitter keys (check read.keys function)

sleepTime

Sleep time (in seconds) when activating next key

max_per_user

Max number of followers to download per user

verbose

Monitor the process (recommended for debuging!)

jsonPath

Where to save the json files

Value

A list of users and their followers


MorShahrezaye/bigTwitter documentation built on Oct. 26, 2020, 3:41 p.m.