XML not updating?

0 views
Skip to first unread message

lor...@gmail.com

unread,
Apr 5, 2007, 2:59:45 PM4/5/07
to Twitter Development Talk
Hey, I couldn't find ANYTHING about this, so I'm hoping the dev's can
help me out :)

I've been building a small app for twitter, and I've noticed that my
XML feed isn't being updated at all until I post. Am I to assume that
this should be expected behavior? It wasn't like this prior to today.

Also of note, my XML feed had apparently been replaced with someone
else's? I can't even begin to describe the weird behavior I've been
having today. The feed did not switch over for a good 3-4 hours.

Any help would be appreciated. I've noticed the same behavior in
twitteroo, s I don't think it's my code, but hey you never know, right?

Alex Payne

unread,
Apr 5, 2007, 3:09:50 PM4/5/07
to twitter-deve...@googlegroups.com
Could you please be specific about which feeds aren't updating for
you? Is it your friends_timeline, your user_timeline, or something
else?

This is probably related to the API response caching that we deployed
yesterday (see my email to this list from last night).

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

lor...@gmail.com

unread,
Apr 5, 2007, 3:31:27 PM4/5/07
to Twitter Development Talk
Sorry, I knew I should've been more specific.

I'm not seeing friends_timeline update until after I post a message. I
didn't think it was related to caching because I only figured it out
after I waited approx 2 hours to post another message. Only after I
posted my message did the actual XML feed itself update.

Thanks for helping :)
Jason

On Apr 5, 3:09 pm, Alex Payne <a...@al3x.net> wrote:
> Could you please be specific about which feeds aren't updating for
> you? Is it your friends_timeline, your user_timeline, or something
> else?
>
> This is probably related to the API response caching that we deployed
> yesterday (see my email to this list from last night).
>
> --
> Alex Payne

> Obvioushttp://twitter.com/al3x

Ed Finkler

unread,
Apr 5, 2007, 10:04:52 PM4/5/07
to twitter-deve...@googlegroups.com
On 4/5/07, lor...@gmail.com <lor...@gmail.com> wrote:
>
> Sorry, I knew I should've been more specific.
>
> I'm not seeing friends_timeline update until after I post a message. I
> didn't think it was related to caching because I only figured it out
> after I waited approx 2 hours to post another message. Only after I
> posted my message did the actual XML feed itself update.

Today I started getting even weirder behavior with my app, Spaz.

My friends&me timeline
(http://twitter.com/statuses/friends_timeline.xml) stopped updating
about 5 hours ago. I've posted a couple new tweets from Spaz, but I
can't read them in Spaz (though they do show up on the web site).

Retrieving my timeline (user_timeline.xml) is even weirder: I am
getting the messages for DDoak, not the user I'm logged in as.
Doesn't matter what user I'm logged in as. This happened at work and
at home, on two different machines.

If I use curl from the command line in OS X, everything works fine.

I can save out the headers sent and headers retrieved for debugging if
that would help. I'd chalk it up to something ridiculous I did in my
code, but I'm pretty darn sure I didn't change anything in the XML
retrieval logic, and I don't do any caching on my end (yet).

--
- Ed Finkler
http://funkatron.com/

ala...@gmail.com

unread,
Apr 5, 2007, 10:30:53 PM4/5/07
to Twitter Development Talk
The friends_timeline is not updating for my app either until after a
new tweet is added.

Alex Payne

unread,
Apr 5, 2007, 11:23:14 PM4/5/07
to twitter-deve...@googlegroups.com
Really sorry for the weird behavior. Please email any examples or
output to me directly. We'll get this cleared up ASAP. Thanks for
your patience.

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

John Ballinger

unread,
Apr 5, 2007, 11:46:35 PM4/5/07
to twitter-deve...@googlegroups.com
Hi,  I just wanted to point out some great tools for debugging your XML, JSON, AMF, application.

I use Charles a cross platform HTTP proxy for debugging web and desktop apps. Honestly I use this tool every day (even have it running now) to see what requests are being made and it shows pretty treeviews etc.  It has some excellent other tools for request,response re-writting etc, map local, etc etc.  I highly recommend this tool because it will save you hours and hours of debugging time.  Charles is free (shareware).

Disclaimer, Charles is made by a friend (but I have been an avid Charles advocate before I even met this guy).

I to have also noticed XML being cached but I cannot provide any solid example so I will keep quite until I can provide a solid example of what is happening.
Thanks, John

Britt Selvitelle

unread,
Apr 6, 2007, 2:07:21 PM4/6/07
to twitter-deve...@googlegroups.com
I've used Charles before and it's definitely a fantastic application.
--
Britt Selvitelle
It's Obvious - http://twitter.com/bs

Carlos Moffat

unread,
Apr 7, 2007, 1:31:35 PM4/7/07
to Twitter Development Talk
On Apr 6, 2:07 pm, "Britt Selvitelle" <anotherbr...@gmail.com> wrote:
> I've used Charles before and it's definitely a fantastic application.
>
> On 4/5/07, John Ballinger <spo...@gmail.com> wrote:
>
>
>
>
>
> > Hi, I just wanted to point out some great tools for debugging your XML,
> > JSON, AMF, application.
>
> > I use Charles a cross platform HTTP proxy for debugging web and desktop
> > apps. Honestly I use this tool every day (even have it running now) to see
> > what requests are being made and it shows pretty treeviews etc. It has some
> > excellent other tools for request,response re-writting etc, map local, etc
> > etc. I highly recommend this tool because it will save you hours and hours
> > of debugging time. Charles is free (shareware).
>
> > Disclaimer, Charles is made by a friend (but I have been an avid Charles
> > advocate before I even met this guy).
>
> > I to have also noticed XML being cached but I cannot provide any solid
> > example so I will keep quite until I can provide a solid example of what is
> > happening.
> > Thanks, John
>
> > On 4/6/07, Alex Payne <a...@al3x.net> wrote:
>
> > > Really sorry for the weird behavior. Please email any examples or
> > > output to me directly. We'll get this cleared up ASAP. Thanks for
> > > your patience.
>
> > > --
> > > Alex Payne
> > > Obvious
> > >http://twitter.com/al3x
>
> > > On Apr 5, 2007, at 10:30 PM, alan...@gmail.com wrote:
>
> > > > The friends_timeline is not updating for my app either until after a
> > > > new tweet is added.
>
> --
> Britt Selvitelle
> It's Obvious -http://twitter.com/bs


I don't know if I'm having the same issues, but I'm seeing an update
problem too.

My friends_timeline:
http://twitter.com/raghos/with_friends

I definitely have some updates from friends missing in my timeline,
and at least one twit of mine dissapeared from my own timeline,
although I can see it in my friends'.

This is all quite bizarre. I'll be happy to help debug this.

Carlos

Bluespark

unread,
Apr 9, 2007, 3:14:30 AM4/9/07
to Twitter Development Talk
Hi Alex, Rick

I would like to add a few more notes to this current thread.
The XML api caching on the following call is causing issues.

http://twitter.com/statuses/friends_timeline.xml

I can see that the friends_timeline.xml will not update until my
application posts to
http://twitter.com/statuses/update.xml with a new status.

Once the update has been been made the friends_timeline.xml now
updates correctly and shows the latest posts sitting there (I can see
what posts are missing via twitter.com) that have not been coming
through.

Last night the twitter api had cached the friends timeline for over 40
mins and still will not update with the correct xml with the latest
posts. Again sending an update fixed this.

I have included a screenshot of my firefox screen showing the latest
posts
http://groups.google.com/group/twitter-development-talk/web/My+Screen.png

And an output from Charles showing the current requests at this same
time showing my last tweet, but it was missing the latest changes that
should have appeared above it.
http://groups.google.com/group/twitter-development-talk/web/CharlesDebug.png

Hope this helps,
Thanks for listening.
John Ballinger

Reply all
Reply to author
Forward
0 new messages