Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

maxResults parameter in rtweets set to 100 default #383

Closed
shunyamaya opened this issue Jan 17, 2020 · 4 comments
Closed

maxResults parameter in rtweets set to 100 default #383

shunyamaya opened this issue Jan 17, 2020 · 4 comments

Comments

@shunyamaya
Copy link

https://github.com/ropensci/rtweet/blob/f9cada85b60101abce14c19afb8c4707202ad699/R/search_tweets.R#L403

Twitter premium now allows up to 500 per request. I think this should be modified.

@zach-wildfig
Copy link

This actually ends up causing a lot of issues if you have a premium application. If you end up wanting to retrieve 500, it costs you 5 calls in your API limit, which when working over larger data sets can exhaust your API limit 5x faster than you anticipated.

@biffpm
Copy link

biffpm commented Mar 12, 2020

Hello - Is there any solution to this other than using a package other than rtweet? Is there any manual way to change how the pagination occurs?

@norcalbiostat
Copy link

norcalbiostat commented Apr 19, 2020

This problem was identified in #347. @kevintaylor created a PR that was never included.
I've been using his forked version of the package :#347 (comment)
and it correctly only uses 1 API call per block of 500.

[Edit.. it did on the first computer i tried this with. not working today on a diff computer. Anyone know how to edit the search_tweets.R file after it's been installed on your computer?]

@llrs llrs mentioned this issue Feb 15, 2021
@llrs
Copy link
Collaborator

llrs commented Feb 16, 2021

Closing as duplicate of #317, #347 and #368, which are fixed once #375 gets merged.

@llrs llrs closed this as completed Feb 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants