Scraping full twitter user timelines (more the 3200)

I'm not sure how to scrape more then the last 3200 tweets of a twitter users timeline. I'm currently using rtweet and I don't know if I need to pay for the premium API or I'm just doing it wrong.

My current code in case it's helpful (access tokens removed, not sure if I'm ment to keep them secret so)

library(rtweet)
library(dplyr)
library(qdapRegex)

API_key <- ' '
API_secret <- ' '
access_token <- ' '
access_secret <- ' '

twitter_token <- create_token(
app = "liam_masters_qut",
consumer_key = API_key,
consumer_secret = API_secret,
access_token = access_token,
access_secret = access_secret)

data <- get_timeline(
"google",
n = 114500,
token = twitter_token,
include_rts = FALSE,
exclude_replies = TRUE)

save_as_csv(data, file_name = "google_tweets_noreplies_noretweets" , prepend_ids = TRUE, na = "", fileEncoding = "UTF-8")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.