You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.
I am trying to access retweet_count, favorite_count, and reply_count for a variety of user timelines using get_timeline(user, n). I know that reply_count is paywalled to the Premium API, which I have. I also know that the standard rtweet get_timeline function only interacts with the Standard API.
Is there another function that interacts with the Premium API? Accessing just reply_counts via other means is a lot messier.
Expected behavior
When I use get_timelines(user, n), I expect the tweets to be pulled for that user corresponding with the n for 90 variables, some of which are paywalled and return NA values. This is true.
Reproduce the problem
library(tidyverse)
library(rtweet)
ap <- get_timelines("AP", 1000)
ap <- ap %>% select(user_id, screen_name, reply_count, retweet_count, favorite_count)
And then some additional code to calculate some info based on those metrics, repeat for other users. But reply_count is consistently NA.
### rtweet version
<!-- run the code below and copy/paste the output -->
``` r
## copy/paste output
packageVersion("rtweet")
Session info
## copy/paste output
sessionInfo()
Token
## copy/paste outputrtweet::get_token()
The text was updated successfully, but these errors were encountered:
Problem
I am trying to access retweet_count, favorite_count, and reply_count for a variety of user timelines using get_timeline(user, n). I know that reply_count is paywalled to the Premium API, which I have. I also know that the standard rtweet get_timeline function only interacts with the Standard API.
Is there another function that interacts with the Premium API? Accessing just reply_counts via other means is a lot messier.
Expected behavior
When I use get_timelines(user, n), I expect the tweets to be pulled for that user corresponding with the n for 90 variables, some of which are paywalled and return NA values. This is true.
Reproduce the problem
library(tidyverse)
library(rtweet)
ap <- get_timelines("AP", 1000)
ap <- ap %>% select(user_id, screen_name, reply_count, retweet_count, favorite_count)
And then some additional code to calculate some info based on those metrics, repeat for other users. But reply_count is consistently NA.
Session info
## copy/paste output sessionInfo()
Token
The text was updated successfully, but these errors were encountered: