Hi all,
I am trying to download as many tweets as possible (say 1000). The
documentation states that the limit is 3200.
However when I run
police<-userTimeline('@nswpolice',n=1000) it returns random amounts.
When I
ran it today I got 144, yesterday it was around 300.
Any thoughts?
Thanks,
Sachin
[[alternative HTML version deleted]]
Sachinthaka Abeywardana
2013-Jan-09 00:36 UTC
[R] [twitteR-users] Not getting enough tweets in twitteR
Is there a way to limit the tweets by date so that I can do multiple calls
to get the required number of tweets? For example, something in the lines
of:
police<-userTimeline('@**nswpolice',n=1000,since="01/12/2012",
to="01/01/2013") #first call
police<-userTimeline('@**nswpolice',n=1000,since="01/11/2012",
to="01/12/2012") #second call
On Wed, Jan 9, 2013 at 11:29 AM, Jeff Gentry <gentrj@hexdump.org> wrote:
> On Wed, 9 Jan 2013, Sachinthaka Abeywardana wrote:
>
>> I am trying to download as many tweets as possible (say 1000). The
>> documentation states that the limit is 3200.
>> However when I run
>> police<-userTimeline('@**nswpolice',n=1000) it returns
random amounts.
>> When I
>> ran it today I got 144, yesterday it was around 300.
>>
>
> The most likely explanation is that you're bumping into the API's
> limitation for time. The Twitter API typically will only give you results
> that go back for a few days, regardless of what you request.
>
[[alternative HTML version deleted]]