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.
Using Sandbox 30 day or full archive, when I pull 100 tweets, I can only get the most recent tweets and it pulls 99 not 100. Is there a way to get a random sample of the last 30 days, or does the API only pull the most recent tweets? Is this simply my misunderstanding of the twitter API? or is there a way to force it to pull a random sample?
Expected behavior
I expect a random sample of tweets in the last 30 days, but I only get the last day, after it pulls 100 tweets.
Problem
Using Sandbox 30 day or full archive, when I pull 100 tweets, I can only get the most recent tweets and it pulls 99 not 100. Is there a way to get a random sample of the last 30 days, or does the API only pull the most recent tweets? Is this simply my misunderstanding of the twitter API? or is there a way to force it to pull a random sample?
Expected behavior
I expect a random sample of tweets in the last 30 days, but I only get the last day, after it pulls 100 tweets.
Reproduce the problem
sampledow <-search_30day(q = "#dowjones",
n = 100,
fromDate = "NULL",
toDate = "NULL",
env_name = "sandbox",
parse = TRUE,
token =NULL,
safedir = NULL)
Session info
Token
request: https://api.twitter.com/oauth/request_token authorize: https://api.twitter.com/oauth/authenticate access: https://api.twitter.com/oauth/access_token *********** key: *********************** secret: oauth_token, oauth_token_secretThe text was updated successfully, but these errors were encountered: