|
Search this group's discussions
|
How do you use getWithGeoData with dates?
|
I have been playing around with flickr.photos.getWithGeoData and using the Flickr API Explorer to test my results.
When I sign the call with full permissions and no other options approximately 100 photos are returned as expected.
If I then alter the privacy_filter to 4, I again get approximately 100 photos again as expected.
The problem arises when I try to use any of these min_upload_date, max_upload_date, min_taken_date or max_taken_date.
I understand that the upload and taken dates take different formats (a unix timestamp and a mysql datetime format). I have tried setting them to various dates but each time the number of results returned is zero (which is not what I expected).
For instance, if I set min_taken_date to "2000-01-01 00:00:00" I would expect 100+ photos to be returned (as all my photos are taken after 2000) but the result I get is zero photos returned.
Is anyone else experiencing the same problem? Am I formatting the dates in the correct way? Any other ideas as to the solution to the problem?
Any help on this would be much appreciated.
Posted at 5:44AM, 8 March 2008 PDT
(permalink)
|
|
Make sure you set BOTH the upper and lower limits when using dates. I.E. if you set min_taken_date, set also max_taken_date
That said, I haven't tested it yet so off I go to check it :-)
Posted 51 months ago.
(permalink)
|
|
I have tried setting both the upper and lower limits but I still get the same response (no photos returned when I expected 100+).
Posted 51 months ago.
(permalink)
|
|
You're right, it's not working. I have tried lots of combinations, with or w/out the filters, extras, per_page, etc. and all I get is an empty list.
Posted 51 months ago.
(permalink)
|
|
I've also found the date filters to not work (working from my own Python api code.) I've also found the page-by-page support to not work, once you try to scale. However, I've yet to see any comments on these long-standing problems here from anyone actually working for flickr - the yahoo group gets more attention, you might try again there.
Posted 51 months ago.
(permalink)
|
|
Thanks Mark and Luis. At least it's not me going (completely) mad.
I've had a quick snoop around the Yahoo group but couldn't find anything solving this problem so I may post there later if there is no resolution here.
Posted 51 months ago.
(permalink)
|
|
Is there already some more information about this problem? have tried everything but can't get this working.
Posted 49 months ago.
(permalink)
|
|
Tested today, could not get it working :o
Posted 48 months ago.
(permalink)
|
Would you like to comment?
Sign up for a free account, or sign in (if you're already a member).
|
|