Flickr API / Discuss

Current Discussion

Searching users on the API
Latest: 12 hours ago
2048 and 1600 size
Latest: 3 days ago
New Group APIs
Latest: 3 days ago
Null url field in oembed response
Latest: 4 days ago
flexplore
Latest: 4 days ago
Display a specific album in WebSite
Latest: 4 days ago
oEmbed doesn't provide large size URL?
Latest: 5 days ago
ObjectiveFlickr Framework 2.0 for Mac and iPhone Released
Latest: 6 days ago
Survey on Web APIs Popularity and Support Forums
Latest: 6 days ago
Flickr API changed within the last 24 hours? its broken suddenly
Latest: 6 days ago
New API to modify camera information of the photo?
Latest: 8 days ago
Who is admin and where is my item in the pool
Latest: 8 days ago
More...

Search this group's discussions

How do you use getWithGeoData with dates?

view profile

palitoy says:

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)

view photostream

Silly Luis  Pro User  says:

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)

view photostream

palitoy says:

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)

view photostream

Silly Luis  Pro User  says:

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)

view photostream

Mark Eichin  Pro User  says:

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)

view photostream

palitoy says:

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)

view photostream

Admium says:

Is there already some more information about this problem? have tried everything but can't get this working.
Posted 49 months ago. (permalink)

view photostream

styeb  Pro User  says:

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).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr API discussion threads