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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <hasanuzzaman.im@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.218
X-Spam-Level **
X-Spam-Evidence '*H*': 0.59; '*S*': 0.03; 'skip:t 60': 0.09; 'python': 0.11; 'code.': 0.18; 'trying': 0.19; 'advance.': 0.19; 'aug': 0.22; 'print': 0.22; 'phd': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'piece': 0.31; 'run': 0.32; 'subject:from': 0.34; 'received:google.com': 0.35; 'keyword': 0.36; 'returning': 0.36; 'thanks': 0.36; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:t 30': 0.61; 'new': 0.61; 'subject:Fwd': 0.61; 'anything.': 0.68; 'results': 0.69; 'location?': 0.84; 'regard.': 0.84; 'subject:Aug': 0.84; 'subject:location': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UijTTMSwJ1CdlJ6dDXfG68K2AX1nqky9C6a+1wFtcSI=; b=TQ2vMlJZ+7FVOdLV0x3MKDmHJ+PevjAozeYsd7d1Ovo2Pqt8WstzixME8gaidFda5t l2XLYr0u32QWdypURUCiAPhGOBYpBCbpCukERYzwPIBGG1Jq0hQlIzE7hPpbR9/LNwU1 EcQNyUIgd6kojdD5W3NBGvI/g7Mypb4TZcLn/zUvIx/MUj2l4jaW/rTat7tyTqyeJbcj ncyNeL+m9YpGKs7AJNnUavAuWqKyP/l2qzHuXaQzc1mOjd1yJlaECCOZWvxs5HJ4y5oS NALxvNd2Gy4KGamROGQQxiIFzWoGwm8AJigG3XLI33ZqVOIi2oAjYNF00Wq98QQE2Vpa AelQ==
MIME-Version 1.0
X-Received by 10.140.236.137 with SMTP id h131mr1377833qhc.91.1424275716391; Wed, 18 Feb 2015 08:08:36 -0800 (PST)
In-Reply-To <CAEP11itW_3ct=Mvxh_Bd9sY1L+F0bv9s1WWWB1NwqGpPWjYOqQ@mail.gmail.com>
References <CAEP11itW_3ct=Mvxh_Bd9sY1L+F0bv9s1WWWB1NwqGpPWjYOqQ@mail.gmail.com>
Date Wed, 18 Feb 2015 21:38:32 +0530
Subject Fwd: how to collect old tweets from 03-20 Aug, 2014 for a particular location
From "Md. Hasanuzzaman" <hasanuzzaman.im@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=001a1135af6a23c002050f5f087f
X-Mailman-Approved-At Wed, 18 Feb 2015 17:09:52 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18821.1424275793.18130.python-list@python.org> (permalink)
Lines 58
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424275795 news.xs4all.nl 2919 [2001:888:2000:d::a6]:42555
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85797

Show key headers only | 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