logo       

Re: [Flickr APIs] User Authentication Response: msg#00026

web.flickr.api

Subject: Re: [Flickr APIs] User Authentication Response

: Can anyone tell me what the possible values are for
: the <status> part of the User Authentication response
: and how, if at all, this could be extended/changed
: in the future?

ref: http://www.flickr.com/services/api/upload.auth.html

right now, the 'status' element contains a single
'pro' element which contains either a '1' or '0'
as CDATA, indicating whether the user has a 'pro'
subscri-ption to flickr.

in the future we may add any number of attributes
to the 'status' and 'pro' elements, and add further
child elements to the 'status' element. the correct
behavoir for applications that wish to read the
pro status is to iterate over the 'status'
element's children, ignoring any you don't recognise.

never assume that attributes and children will
remain in the same order as in examples.


--cal



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise