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.

Reply via email to