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: 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: References: 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" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --001a1135af6a23c002050f5f087f Content-Type: text/plain; charset=UTF-8 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 --001a1135af6a23c002050f5f087f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hello,

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

twitter =3D Twython(CONSUMER_KEY,CONSUMER_SECRET,ACCESS_KEY,ACCESS_SECRE= T)
results =3D twitter.cursor(twitter.search, q=3D'............', max_= id=3D'501488707195924481', count=3D100, geocode=3D'38.00,-91.00= ')

for result in results:
=C2=A0=C2=A0=C2=A0 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


--001a1135af6a23c002050f5f087f--