[Flashr] retrieve the date

moshe ezderman ezderman at yahoo.com
Thu Oct 19 07:48:19 EDT 2006


Thanks Kelvin. now I have another issue with dates. I am trying to do a simple search where I get all the images that taken before a certain date
so here is how I set mey date attribute:
public static var MAX_DATE_TAKEN:Date= Thu Oct 10 07:27:16 GMT-0400 2006

and then I am calling the search function:
_flashr.photosSearch({tags:SEARCH_TAG, per_page:NUM_RESULTS,max_taken_date: MAX_DATE_TAKEN});

I am getting an error. What do I do wrong? Thanks


----- Original Message ----
From: Kelvin Luck <kelvin at kelvinluck.com>
To: Flashr at osflash.org
Sent: Saturday, October 14, 2006 12:27:22 PM
Subject: Re: [Flashr] retrieve the date


Hi,

You will need to request the relevant information from flickr for it to 
show up on a photo instance. You can do this in a number of ways...

It depends how you are getting the information you are already getting 
about your photo. If you are for example calling photosSearch or many 
other methods then you can pass 'date_taken' in the extras field.

Hope this helps,

Kelvin :)

moshe ezderman wrote:
> hello all,
>  
> I am new to flickr and flashr. how do I use the dateTaken 
> <http://kelvinluck.com/assets/flickr_api/0.4/docs/files/com/kelvinluck/flickr/Photo-as.html#com.kelvinluck.flickr.Photo.dateTaken> method 
> in the Photo class. nothing happen when I am calling this method. 
> however I am able to use the title method. help?
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Flashr mailing list
> Flashr at osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org

_______________________________________________
Flashr mailing list
Flashr at osflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashr_osflash.org/attachments/20061019/b7e0e9c3/attachment.htm


More information about the Flashr mailing list