getList: Returns the list of users added to a Twitter list

Description Usage Arguments Author(s) Examples

Description

getList connects to the REST API of Twitter and returns a data frame with information about users included in a Twitter list

Usage

1
getList(list_name, screen_name, oauth_folder, cursor = -1)

Arguments

list_name

name of the list

screen_name

user that created the list

oauth_folder

folder where OAuth tokens are stored.

cursor

See https://dev.twitter.com/docs/api/1.1/get/lists/members

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

1
2
3
4
5
6
## Not run: 
## Download Twitter list of "official-twitter-accts" created by @twitter
 accts <- getList(list_name="official-twitter-accts" screen_name="twitter",
   oauth_folder="oauth")

## End(Not run)

SMAPPNYU/smappR documentation built on May 9, 2019, 11:19 a.m.