max_id | R Documentation |
These internal helpers extract the ids passed on to the max_id
and since_id
arguments to functions that use TWIT_paginate_max_id()
.
max_id(x)
x |
Either a data frame of tweets or a character vector of status ids. |
if (auth_has_default()) {
tw <- search_tweets("#rstats")
# retrieve older tweets
older <- search_tweets("#rstats", max_id = tw)
even_older <- search_tweets("#rstats", max_id = older)
# retrieve newer tweets
newer <- search_tweets("#rstats", since_id = tw)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.