Description Usage Arguments Author(s) Examples
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.
| 1 2 | getFriends(screen_name = NULL, oauth_folder, cursor = -1, user_id = NULL,
  verbose = TRUE, sleep = 1)
 | 
| screen_name | user name of the Twitter user for which their friends will be downloaded | 
| oauth_folder | folder where OAuth tokens are stored. | 
| cursor | |
| user_id | user id of the Twitter user for which their friends will be downloaded | 
| verbose | If  | 
| sleep | Number of seconds to sleep between API calls. | 
Pablo Barbera pablo.barbera@nyu.edu
| 1 2 3 4 5 | ## Not run: 
## Download list of friends of user "p_barbera"
 friends <- getFriends(screen_name="p_barbera", oauth_folder="oauth")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.