Description Usage Arguments Value Examples
This function allows you to collect up to the last 3200 tweets from a users timeline from twitter with the users user_id
1 2 3 4 5 6 7 8 9 10 11 | get_timelines_v2(
token = NA,
user_id = "",
tweet_fields = "ALL",
user_fields = "ALL",
expansions = "ALL",
place_fields = "ALL",
poll_fields = "NONE",
n = 100,
JSON = FALSE
)
|
token |
string of the bearer token from your personal twitter API access |
user_id |
string of the users id from the user of which you would like to get the timeline from |
tweet_fields |
string which defaults to ALL (no other argument accepted at the moment) |
user_fields |
string which defaults to ALL (no other argument accepted at the moment) |
expansions |
string which defaults to ALL (no other argument accepted at the moment) |
place_fields |
string which defaults to ALL (no other argument accepted at the moment) |
poll_fields |
string which defaults to NONE (no other argument accepted at the moment) |
n |
integer representing the last n tweets to get from the timeline (maximum is 3200 and default is 100) |
JSON |
boolean which defaults to FALSE (no other argument accepted at the moment) |
a data frame
1 2 3 4 | ## Not run:
users <- get_timelines_v2(token=bearer_token, user_id = "2244994945", n = 100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.