Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85797

Fwd: how to collect old tweets from 03-20 Aug, 2014 for a particular location

References <CAEP11itW_3ct=Mvxh_Bd9sY1L+F0bv9s1WWWB1NwqGpPWjYOqQ@mail.gmail.com>
Date 2015-02-18 21:38 +0530
Subject Fwd: how to collect old tweets from 03-20 Aug, 2014 for a particular location
From "Md. Hasanuzzaman" <hasanuzzaman.im@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18821.1424275793.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I am a PhD student. I am new to python and using TwitterSearch to collect
tweets from 03-20 Aug for a particular location (geocode). I am trying to
run the following piece of code.

twitter = Twython(CONSUMER_KEY,CONSUMER_SECRET,ACCESS_KEY,ACCESS_SECRET)
results = twitter.cursor(twitter.search, q='............',
max_id='501488707195924481', count=100, geocode='38.00,-91.00')

for result in results:
    print (result['id_str'])

However, it is not returning anything. Please help me in this regard. Can I
collect old tweets without any keyword for a particular location?

Thanks in advance.

Regards,
Mohammed

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Fwd: how to collect old tweets from 03-20 Aug, 2014 for a particular location "Md. Hasanuzzaman" <hasanuzzaman.im@gmail.com> - 2015-02-18 21:38 +0530

csiph-web