
Last chance! 50% off unlimited learning
Sale ends in
getFriends
connects to the REST API of Twitter and returns the
list of user IDs a given user follows. Note that this function allows the
use of multiple OAuth token to make the process more efficient.
getFriends(screen_name = NULL, oauth_folder, cursor = -1, user_id = NULL, verbose = TRUE, sleep = 1)
TRUE
, prints information about API calls on console## Not run:
# ## Download list of friends of user "p_barbera"
# friends <- getFriends(screen_name="p_barbera", oauth_folder="oauth")
# ## End(Not run)
Run the code above in your browser using DataLab