Description Usage Arguments Author(s) Examples
getUsersBatch
connects to the REST API of Twitter and returns user
objects (user information) for Twitter users, based on their
screen names or user IDs
1 2 | getUsersBatch(ids = NULL, screen_names = NULL, oauth_folder,
include_entities = "false", verbose = TRUE, output = NULL)
|
ids |
ids of Twitter users |
screen_names |
user names of the Twitter users |
oauth_folder |
folder where OAuth tokens are stored. It can also be the name of a file that contains the token, or a csv file with the format: consumer_key, consumer_secret,access_token,access_token_secret. |
include_entities |
if "true", returned data will include most recent tweet |
verbose |
shows additional ouput about token usage in console |
output |
If not |
Pablo Barbera pablo.barbera@nyu.edu
1 2 3 4 5 6 | ## Not run:
## Download user data for users "p_barbera" and "barackobama"
userdata <- getUsersBatch(screen_names=c("p_barbera", "BarackObama"),
oauth_folder="~/Dropbox/credentials")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.