I don't think cacheing explains my bug. I have never had device updates for these people; in fact I only just added a "device" this afternoon and the default state is "false".
TjL On Tue, Feb 24, 2009 at 4:41 PM, Matt Sanford <m...@twitter.com> wrote: > Hi there, > I believe both following and notifications are incorrectly returned due > to the same cacheing bug > (http://code.google.com/p/twitter-api/issues/detail?id=157). I have been > working on this off and on for quite some time and hope to get it resolved > soon. > Thanks; > — Matt Sanford > On Feb 24, 2009, at 01:28 PM, TjL wrote: > > Following up: XML seems to be returning wrong information, JSON is > returning correct information: > > for users 'luomat' and 'brookr' who I am following but not getting updates > for > > $ curl -s --netrc http://twitter.com/users/show/luomat.json | tr ',' > '\012' | awk -F":" '/^"notifications":/{print $2}' > false > > $ curl -s --netrc http://twitter.com/users/show/luomat.xml | egrep > "<notifications>.*</notifications>" | sed 's#.*<notifications>##g; > s#</notifications>##g' > true > > $ curl -s --netrc http://twitter.com/users/show/brookr.json | tr ',' > '\012' | awk -F":" '/^"notifications":/{print $2}' > false > > $ curl -s --netrc http://twitter.com/users/show/brookr.xml | egrep > "<notifications>.*</notifications>" | sed 's#.*<notifications>##g; > s#</notifications>##g' > true > > XML is returning 'true' for almost every follower. > > TjL > > > ps - FWIW, > > curl -s --netrc -d POST > 'http://twitter.com/account/update_delivery_device.json?device=none' > > is not changing my device settings either. > >