--- title: "aa-retrieve-tweets-and-store" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{aa-retrieve-tweets-and-store} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", eval = TRUE ) ``` ```{r} library(tweetrbot) ``` ## Retrieve credentials Follow {rtweet} guidelines to [Obtaining and using access tokens ](https://rtweet.info/articles/auth.html). ## Run the scripts to retweet a specific hashtag ```{r setup, eval=FALSE} # Run get_and_store(query = "#rspatial", n_tweets = 20) retweet_and_update(n_tweets = 20, n_limit = 3, sys_sleep = 600, debug = TRUE) ``` ## Run the script to retrieve your user information ```{r, eval=FALSE} get_account_info(user = "talk_rspatial") ```