0

I am trying to get Donald Trump's tweets from February, 2020 to July 2020 using academictwitteR. However, it is not letting me get them even though the account has been restablished by Twitter a couple of days ago.

I am trying two ways of getting these tweets:

#Function get_all_tweets

get_all_tweets(users = c("realDonaldTrump"),
                              start_tweets = "2020-02-01T00:00:00Z",
                              end_tweets = "2020-07-01T00:00:00Z",
                              bearer_token = get_bearer(),
                              n = 5000)

and

#Function get_user_timelime

get_user_timeline(
  "25073877",
  start_tweets = "2020-02-01T00:00:00Z",
  end_tweets = "2020-07-01T00:00:00Z",
  bearer_token = get_bearer(),
  n = 5000,
)

Both run but return zero tweets. I have tested with other accounts and the code worked.

Thank you.

Josh White
  • 1,003
  • 1
  • 17

0 Answers0