This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
Replies: 1 comment 3 replies
-
@maria-pro If you want to collect data for many users, I suggest But I agree that |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please confirm the following
something went wrong. Status code: 400.
Describe the bug
Hi
I am trying to use get_user_timeline() with my set of user that i got
The same step runs with no issues one time or produces the error below. The step is:
The error I am getting from occasionally is:
No further details on what exactly is wrong...
When i split my batch and run it not in
users_short[1201:1400]
but it smaller batches it works (at times again with the same intermittent error).How to fix this?
Thank you
Expected Behavior
to collect data as expected or at least provide more details on the error - i believe it is more likely Twitter API limitations related
Steps To Reproduce
users<-read_csv("https://raw.githubusercontent.com/maria-pro/daniel/main/users.csv")
users_short<-users$value
ser_timelines<-get_user_timeline(users_short[1201:1400],
start_tweets = "2018-01-01T00:00:00Z",
end_tweets = "2022-01-09T00:00:00Z",
data_path = "user_timelines_new10__",
n= Inf
)
Environment
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.2.1
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions