incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Twitter api Up-to-Date?
Date Sun, 23 May 2010 11:22:27 GMT
This might actually work if we added the following lines to the
TwitterAPI.scala file.

case Req(ApiPath ::> "statuses" ::> "home_timeline", this.method,
GetRequest) => userTimeline
case Req(ApiPath ::> "statuses" ::> "home_timeline" ::> last,
this.method, GetRequest) => () => 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 <hirsch.dick@gmail.com> wrote:
>
> I just finished using Tweetdeck to access ESME (details here: http://status.net/2010/05/21/tweetdeck-supports-statusnet) 
and I noticed that we can send send messages via the twitter api but the personal timeline
appears to be broken:
>
> 62.47.190.106 - h [23/May/2010:06:41:12 +0000] "GET /twitter/statuses/replies.xml?count=100
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/home_timeline.xml?count=100
HTTP/1.1" 404 276 "app:/TweetDeck.swf" "Mozilla/5.0 (Windows; U; de-DE) AppleWebKit/526.9+
(KHTML, like Gecko) AdobeAIR/1.5.3"
>
> D.

Mime
View raw message