next_cursor: Extract cursor (for cursor based pagination)

View source: R/next_cursor.R

next_cursorR Documentation

Extract cursor (for cursor based pagination)

Description

This internal helper extracts the cursor from the object passed to the cursor argument of the functions that use TWIT_paginate_cursor().

Usage

next_cursor(x)

since_id(x)

Examples

if (auth_has_default()) {
page1 <- get_followers("_R_Foundation")
page2 <- get_followers("_R_Foundation", cursor = page1)
}

rtweet documentation built on Oct. 17, 2023, 1:11 a.m.