|
bugs with flickr.groups.pools.getPhotos: msg#00093web.flickr.api
Hello, I am trying to write a wrapper for Flickr API for the SPIP template engine. But I am having troubles with the pools.getPhotos method. It gives unconsistent results. For a query with: group_id=38873539@N00 user_id=71651012@N00 I get: <rsp stat="ok"> <photos page="1" pages="1" perpage="100" total="8"/> </rsp> There are 8 photos (http://www.flickr.com/groups/38873539@N00/pool/71651012@N00), but the xml result is empty. If I add the parameter tags=spselection (that all the 8 photos have) I get: <rsp stat="ok"> <photos page="1" pages="0" perpage="100" total=""/> </rsp> (no value for total...) If I "Sign call as mortimer? with full permissions?", I get the right results: <rsp stat="ok"> <photos page="1" pages="1" perpage="100" total="8"> <photo id="247335349" owner="71651012@N00" secret="c26c0528f8" server="89" farm="1" title="Modern Angels" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1158660633"/> <photo id="227122791" owner="71651012@N00" secret="3b6fa32f8a" server="86" farm="1" title="Touched II" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1156770965"/> <photo id="221051561" owner="71651012@N00" secret="1b74296091" server="98" farm="1" title="Changing Pattern" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1156170536"/> <photo id="172143335" owner="71651012@N00" secret="3226930beb" server="51" farm="1" title="Popeye" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1150918668"/> <photo id="158257143" owner="71651012@N00" secret="f1b49e127e" server="47" farm="1" title="Les Carroz" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1149199720"/> <photo id="139203563" owner="71651012@N00" secret="95a57489c9" server="44" farm="1" title="This is not a teacup!" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1146592160"/> <photo id="139073414" owner="71651012@N00" secret="06557f2b50" server="49" farm="1" title="View over the Alps" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1146577565"/> <photo id="127194972" owner="71651012@N00" secret="8e6cbc4b37" server="1" farm="1" title="A "few" balloons" ispublic="1" isfriend="0" isfamily="0" ownername="mortimer?" dateadded="1144799394"/> </photos> </rsp> If I try with another user_id: 82142592@N00, without signing the call. I get the right result directly. Is there a bug on Flickr side? Thank you. Pierre PS: what is the new farm attribute that appeared on the results from calls returning info about a photo? PPS: I noticed that the results returned by the getContext and getAllContexts methods are not very consistent with the documentation: 1- the method returns a <count> 2- the contexts are grouped by <set> and <pool> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/yws-flickr/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/yws-flickr/join (Yahoo! ID required) <*> To change settings via email: mailto:yws-flickr-digest-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx mailto:yws-flickr-fullfeatured-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx <*> To unsubscribe from this group, send an email to: yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Flickr Authentication: 00093, Marko Vuksanovic |
|---|---|
| Next by Date: | Farm attribute in some method....???: 00093, Marko Vuksanovic |
| Previous by Thread: | Flickr Authenticationi: 00093, sangraal aiken |
| Next by Thread: | Farm attribute in some method....???: 00093, Marko Vuksanovic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |