Skip to contents

These internal helpers extract the ids passed on to the max_id and since_id arguments to functions that use TWIT_paginate_max_id().

Usage

max_id(x)

Arguments

x

Either a data frame of tweets or a character vector of status ids.

Examples

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)
}