Hi there,
The cache issue is such that if any other user has requested
luomat (for example) and had notifications turned on you would see
true. If they had it turned off, you would see false. It is a cache
cross-population bug where every person looking at luomat sees the
following and notification values of the person who triggered the
cache population, not themselves. I'm not totally sure it's the cause
but it seems the most likely. I just cleared the cache for your two
example users, did that change things at all?
Thanks;
— Matt Sanford
On Feb 24, 2009, at 01:50 PM, TjL wrote:
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.