The Since parameter for xml

0 views
Skip to first unread message

whaz...@gmail.com

unread,
Feb 26, 2008, 8:24:26 PM2/26/08
to Twitter Development Talk
I've been looking through the documentation, and even though I've
found a few posts about the since paramter, I've not found out if it
is spoused to be working currently.

Should this work?

http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C+27+Feb+2008+00%3A52%3A14+GMT

Just curious. I'm trying to write my client so it does not need to get
the full 20 posts every time i request the xml. :)

Alex Payne

unread,
Feb 27, 2008, 7:41:26 PM2/27/08
to twitter-deve...@googlegroups.com
Yes, we support the "since" parameter and If-Modified-Since headers
for the friends_timeline method.

--
Alex Payne
http://twitter.com/al3x

whaz...@gmail.com

unread,
Feb 29, 2008, 7:04:34 PM2/29/08
to Twitter Development Talk
It seemed like it worked once, but I don't know what I did. Here is
what I am entereing

http://twitter.com/statuses/friends_timeline/whazlewo.xml?since=Tue%2C+29+Feb+2008+23%3A40%3A20+GMT

I just took the timestamp and encoded it, but no mater what i put i
get all 20 back each time.

Can you give me an example of a working URL string?


On Feb 27, 7:41 pm, "Alex Payne" <a...@al3x.net> wrote:
> Yes, we support the "since" parameter and If-Modified-Since headers
> for the friends_timeline method.
>
> On Tue, Feb 26, 2008 at 5:24 PM, <whazl...@gmail.com> wrote:
>
> > I've been looking through the documentation, and even though I've
> > found a few posts about the since paramter, I've not found out if it
> > is spoused to be working currently.
>
> > Should this work?
>
> > http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C...

whaz...@gmail.com

unread,
Feb 29, 2008, 7:07:19 PM2/29/08
to Twitter Development Talk
It seemed like this worked once for me, but since then I cant seem to
make it work at all.

Here is what I'm testing

http://twitter.com/statuses/friends_timeline/whazlewo.xml?since=Tue%2C+29+Feb+2008+23%3A40%3A20+GMT

No mater what I put for the time stamp it gives me all 20 responses
back. Can you give me an example of a working URL string for this?

TIA




On Feb 27, 7:41 pm, "Alex Payne" <a...@al3x.net> wrote:
> Yes, we support the "since" parameter and If-Modified-Since headers
> for the friends_timeline method.
>
> On Tue, Feb 26, 2008 at 5:24 PM, <whazl...@gmail.com> wrote:
>
> > I've been looking through the documentation, and even though I've
> > found a few posts about the since paramter, I've not found out if it
> > is spoused to be working currently.
>
> > Should this work?
>
> > http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C...

whaz...@gmail.com

unread,
Feb 29, 2008, 7:07:55 PM2/29/08
to Twitter Development Talk
Test test, Im not even sure my posts are showing up here :-)

On Feb 27, 7:41 pm, "Alex Payne" <a...@al3x.net> wrote:
> Yes, we support the "since" parameter and If-Modified-Since headers
> for the friends_timeline method.
>
> On Tue, Feb 26, 2008 at 5:24 PM, <whazl...@gmail.com> wrote:
>
> > I've been looking through the documentation, and even though I've
> > found a few posts about the since paramter, I've not found out if it
> > is spoused to be working currently.
>
> > Should this work?
>
> > http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C...

whaz...@gmail.com

unread,
Mar 1, 2008, 3:26:21 PM3/1/08
to Twitter Development Talk
Ok, I figured it out. Ofcourse it was a PEBKAC problem :-)

I didn't realize that you had to use the login style request.
when i do

http://twitter.com/statuses/friends_timeline.xml?since=<urlencoded
http date>

it works !

I tried to add my username and password to the url, but my XML parser
did not like that url, so i just switched to using curl to grab the
file and then pass that file to the XML parser. Working good now.

Just out of curiosity, is there any reason you guys chose not to
implement this to work?
http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C+27+Feb+2008+00%3A52%3A14+GMT

On Feb 27, 7:41 pm, "Alex Payne" <a...@al3x.net> wrote:
> Yes, we support the "since" parameter and If-Modified-Since headers
> for the friends_timeline method.
>
> On Tue, Feb 26, 2008 at 5:24 PM, <whazl...@gmail.com> wrote:
>
> > I've been looking through the documentation, and even though I've
> > found a few posts about the since paramter, I've not found out if it
> > is spoused to be working currently.
>
> > Should this work?
>
> > http://twitter.com/statuses/friends_timeline/7491842.xml?since=Wed%2C...
Reply all
Reply to author
Forward
0 new messages