Until parameter in searchTwitter function


#1

Hi Everyone

I was tried the query -
searchTwitter(’@awscloud’, since=‘2017-01-01’,until =‘2017-01-02’, n=5) but was not able to get any tweets back.

The error was :

Warning message:
In doRppAPICall(“search/tweets”, n, params = params, retryOnRateLimit = retryOnRateLimit, :
** 5 tweets were requested but the API can only return 0**

I tried to run , searchTwitter(’@awscloud’, since=‘2017-01-01’, n=5) and did get 5 tweets back.

Am I using the until parameter the wrong way? Can somebody please till me is there a limit since and until when we can extract the tweets?

Thanks
Divya Sharma


#2

This is R right? Search query parameters are correct, but search endpoint in REST API will only return tweets from the last week or so - anything older is not available unfortunately.


#3

Hello Igor

Thank you so much for your reply. Yes,I am using r.

Is there another function to extract tweets of a certain month?

Regards
Divya


#4

till now, no


#5

Thank you so much for your reply Neeraj.

Regards
Divya