Learn R Programming

smappR (version 0.5)

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

Description

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

Usage

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.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab