Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 87788 invoked from network); 26 May 2010 05:28:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 05:28:01 -0000 Received: (qmail 23433 invoked by uid 500); 26 May 2010 05:28:01 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 23363 invoked by uid 500); 26 May 2010 05:28:00 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 23355 invoked by uid 99); 26 May 2010 05:27:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 05:27:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of vdichev@gmail.com designates 209.85.161.47 as permitted sender) Received: from [209.85.161.47] (HELO mail-fx0-f47.google.com) (209.85.161.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 05:27:52 +0000 Received: by fxm9 with SMTP id 9so1726115fxm.6 for ; Tue, 25 May 2010 22:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=inp59ZBV3N5tgALRiHyv92kyaatRf07cFCu91ccxf4w=; b=eWvtSz2cFoks4bXM8qpIPryERqy5kkGlSzcCwhTN+tAETO2AifYxCX6+v0dR7mmNLi taRvVPFWeX3r/+GdkN9ILNoa+fl5fOXmEoY01p0NpbZW8Z7DzAFgyEUtxhtJtTRyhvlo XNM4InqTy1dwYli+oWJjY0Yb5XMqXncQxVepo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=LoKQuLLCaFz97Ea0qkVYbiFBj15OtEBbEAPIQPnLGr0vOXpR3cHJ9Nwtq+BqZU5jni SvgjFbmH53bL+bEeg5nb1BKMKEYPxbrB9PQithSZiS2B9LReN04pEy3DddH1aZ+QP06f Cibuo2URVnynwcLyL35pJGU9tG030ZCGH+h+Y= MIME-Version: 1.0 Received: by 10.102.240.34 with SMTP id n34mr5886259muh.31.1274851652466; Tue, 25 May 2010 22:27:32 -0700 (PDT) Sender: vdichev@gmail.com Received: by 10.103.12.13 with HTTP; Tue, 25 May 2010 22:27:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 May 2010 08:27:32 +0300 X-Google-Sender-Auth: nv9eJ6e9kBqop1M6qlbvgYSCpbo Message-ID: Subject: Re: Twitter api Up-to-Date? From: Vassil Dichev To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Right, the Twitter API ignores additional parameters because the few Twitter clients that I've tested didn't use them. Next item on the todo list. And yes, home_timeline is new (since after Twitter introduced retweets), so it wasn't there when the API was developed. I guess there's some catching up to do. By the way, good call on adding the missing functionality in there! Vassil On Tue, May 25, 2010 at 8:13 PM, Richard Hirsch wro= te: > I added the two lines (I'll commit them tomorrow) and yu can now > receive messages via tweetdeck. > > Next problem: =A0since-id needs to be used to make the follow-up query > > 93.82.138.33 - h [25/May/2010:17:09:51 +0000] "GET > /twitter/statuses/home_timeline.xml?count=3D100&since%5Fid=3D7673 > HTTP/1.1" 200 14002 > > D. > > On Sun, May 23, 2010 at 1:22 PM, Richard Hirsch w= rote: >> This might actually work if we added the following lines to the >> TwitterAPI.scala file. >> >> case Req(ApiPath ::> "statuses" ::> "home_timeline", this.method, >> GetRequest) =3D> userTimeline >> case Req(ApiPath ::> "statuses" ::> "home_timeline" ::> last, >> this.method, GetRequest) =3D> () =3D> userTimeline(last) >> >> One problem is that the returned # of messages is hardcoded in scala >> with "20" whereas the latest twitter api has the ability to pass the >> value with the 'count' parameter. >> >> D. >> >> On Sun, May 23, 2010 at 8:47 AM, Richard Hirsch = wrote: >>> >>> I just finished using Tweetdeck to access ESME (details here: http://st= atus.net/2010/05/21/tweetdeck-supports-statusnet)=A0 and I noticed that we = can send send messages via the twitter api but the personal timeline appear= s to be broken: >>> >>> 62.47.190.106 - h [23/May/2010:06:41:12 +0000] "GET /twitter/statuses/r= eplies.xml?count=3D100 HTTP/1.1" 200 2744 "app:/TweetDeck.swf" "Mozilla/5.0= (Windows; U; de-DE) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5.3" >>> 62.47.190.106 - h [23/May/2010:06:41:33 +0000] "GET /twitter/statuses/h= ome_timeline.xml?count=3D100 HTTP/1.1" 404 276 "app:/TweetDeck.swf" "Mozill= a/5.0 (Windows; U; de-DE) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1= .5.3" >>> >>> D. >> >