Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Same 'since' and 'until' date not working

Received: by 10.100.207.15 with SMTP id e15mr1546479ang.2.1311947414123;
        Fri, 29 Jul 2011 06:50:14 -0700 (PDT)
X-BeenThere: twitter-development-talk@googlegroups.com
Received: by 10.101.83.10 with SMTP id k10ls6793276anl.4.gmail; Fri, 29 Jul
 2011 06:49:50 -0700 (PDT)
Received: by 10.101.187.9 with SMTP id o9mr1527665anp.9.1311947390513;
        Fri, 29 Jul 2011 06:49:50 -0700 (PDT)
Received: by 10.150.25.1 with SMTP id 1msyby;
        Fri, 29 Jul 2011 03:47:37 -0700 (PDT)
Received: by 10.143.24.17 with SMTP id b17mr274822wfj.35.1311936457549;
        Fri, 29 Jul 2011 03:47:37 -0700 (PDT)
Date: Fri, 29 Jul 2011 03:47:36 -0700 (PDT)
From: Laksh Gupta <cybernau...@gmail.com>
Reply-To: twitter-development-talk@googlegroups.com
To: twitter-development-talk@googlegroups.com
Message-ID: <24931898.1582.1311936456894.JavaMail.geo-discussion-forums@prln29>
Subject: Same 'since' and 'until' date not working
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1580_21455655.1311936456893"

------=_Part_1580_21455655.1311936456893
Content-Type: multipart/alternative; 
	boundary="----=_Part_1581_29283500.1311936456893"

------=_Part_1581_29283500.1311936456893
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hi
 
I want to query tweets for a particular day. Say if I use "2011-07-28" as 
both starting date and ending date
"
http://search.twitter.com/search?q=samsung+since%3A2011-07-28+until%3A2011-07-28
"
 
then I can see 1 tweet on my browser but not in the xml which I receive 
through my program. Instead I get the following Http responce for the query 
'samsung'-
 
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><feed xmlns:google=\"
http://base.google.com/ns/1.0\" xml:lang=\"en-US\" xmlns:openSearch=\"
http://a9.com/-/spec/opensearch/1.1/\" xmlns=\"http://www.w3.org/2005/Atom\" 
xmlns:twitter=\"
http://api.twitter.com/\"><id>tag:search.twitter.com,2005:search/samsungsince:2011-07-28 until:2011-07-28</id><link type=\"text/html\" href=\"
http://search.twitter.com/search?q=samsung+since%3A2011-07-28+until%3A2011-07-28\" 
rel=\"alternate\"/><link type=\"application/atom+xml\" href=\"
http://search.twitter.com/search.atom?q=samsung+since%3A2011-07-28+until%3A2011-07-28\" 
rel=\"self\"/><title>samsung since:2011-07-28 until:2011-07-28 - Twitter 
Search</title><link type=\"application/opensearchdescription+xml\" href=\"
http://search.twitter.com/opensearch.xml\" rel=\"search\"/><link 
type=\"application/atom+xml\" href=\"
http://search.twitter.com/search.atom?since_id=96884006775296000&amp;q=samsung%20since%3A2011-07-28%20until%3A2011-07-28\" 
rel=\"refresh\"/><updated>2011-07-29T10:05:31Z</updated></feed>"
 
I should have received the tweet, isn't it? The program runs fine if I use 
different start date and end date. Is there anything I am missing here? I 
hope I am not making any mistake in the query format. Please help me in 
solving this problem.
 
Thanks in advance.
 
 

------=_Part_1581_29283500.1311936456893
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<DIV>Hi</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to query tweets for a particular day. Say if I use "2011-07-28"=
 as both starting date and ending date</DIV>
<DIV>"<A href=3D"http://search.twitter.com/search?q=3Dsamsung+since%3A2011-=
07-28+until%3A2011-07-28">http://search.twitter.com/search?q=3Dsamsung+sinc=
e%3A2011-07-28+until%3A2011-07-28</A>"</DIV>
<DIV>&nbsp;</DIV>
<DIV>then I can see 1 tweet on my browser but not in the xml which I receiv=
e through my program. Instead I get the following Http responce for the que=
ry 'samsung'-</DIV>
<DIV>&nbsp;</DIV>
<DIV>"&lt;?xml version=3D\"1.0\" encoding=3D\"UTF-8\"?&gt;&lt;feed xmlns:go=
ogle=3D\"<A href=3D"http://base.google.com/ns/1.0\">http://base.google.com/=
ns/1.0\</A>" xml:lang=3D\"en-US\" xmlns:openSearch=3D\"<A href=3D"http://a9=
.com/-/spec/opensearch/1.1/\">http://a9.com/-/spec/opensearch/1.1/\</A>" xm=
lns=3D\"<A href=3D"http://www.w3.org/2005/Atom\">http://www.w3.org/2005/Ato=
m\</A>" xmlns:twitter=3D\"<A href=3D'http://api.twitter.com/\"><id>tag:sear=
ch.twitter.com,2005:search/samsung'>http://api.twitter.com/\"&gt;&lt;id&gt;=
tag:search.twitter.com,2005:search/samsung</A> since:2011-07-28 until:2011-=
07-28&lt;/id&gt;&lt;link type=3D\"text/html\" href=3D\"<A href=3D"http://se=
arch.twitter.com/search?q=3Dsamsung+since%3A2011-07-28+until%3A2011-07-28\"=
>http://search.twitter.com/search?q=3Dsamsung+since%3A2011-07-28+until%3A20=
11-07-28\</A>" rel=3D\"alternate\"/&gt;&lt;link type=3D\"application/atom+x=
ml\" href=3D\"<A href=3D"http://search.twitter.com/search.atom?q=3Dsamsung+=
since%3A2011-07-28+until%3A2011-07-28\">http://search.twitter.com/search.at=
om?q=3Dsamsung+since%3A2011-07-28+until%3A2011-07-28\</A>" rel=3D\"self\"/&=
gt;&lt;title&gt;samsung since:2011-07-28 until:2011-07-28 - Twitter Search&=
lt;/title&gt;&lt;link type=3D\"application/opensearchdescription+xml\" href=
=3D\"<A href=3D"http://search.twitter.com/opensearch.xml\">http://search.tw=
itter.com/opensearch.xml\</A>" rel=3D\"search\"/&gt;&lt;link type=3D\"appli=
cation/atom+xml\" href=3D\"<A href=3D"http://search.twitter.com/search.atom=
?since_id=3D96884006775296000&amp;amp;q=3Dsamsung%20since%3A2011-07-28%20un=
til%3A2011-07-28\">http://search.twitter.com/search.atom?since_id=3D9688400=
6775296000&amp;amp;q=3Dsamsung%20since%3A2011-07-28%20until%3A2011-07-28\</=
A>" rel=3D\"refresh\"/&gt;&lt;updated&gt;2011-07-29T10:05:31Z&lt;/updated&g=
t;&lt;/feed&gt;"</DIV>
<DIV>&nbsp;</DIV>
<DIV>I should have received the tweet, isn't it? The program runs fine if I=
 use different start date and end date. Is there anything I am missing here=
? I hope I am not making any mistake in the query format. Please help me in=
 solving this problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
------=_Part_1581_29283500.1311936456893--

------=_Part_1580_21455655.1311936456893--