logo       

Re: Flickr Authentication: msg#00088

web.flickr.api

Subject: Re: Flickr Authentication

On 10/27/06, sangraal aiken <sangraal-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
tokens expire, so you need to be able to catch the situation and ask the user to re-authenticate at any time. the length of the token's session may not necessarily correspond to your application's session.
This may be a show stopper for me, can anyone verify whether token's do in fact expire and if so what the time-frame is? I thought I read somewhere that they currently do not expire, and that Flickr may add a user-specified preference as to how often tokens expire in the future but currently the default is 'never'.

That's correct.  They never expire until the user goes in and explicitly removes them.

IMHO, it's incorrect to be storing a token anywhere persistently. i hope someone can correct me there if i've misspoken.
I think you're right for the most part, but since I'm running an automated crawler, I don't know of any other way to 'persist' the applications authentication.

There are times when it is necessary to store the authentication indefinitely.  I've done it more than once myself.

--
Dan Coulter
http://www.dancoulter.com/
http://www.phpflickr.com/
It is time - http://e-hobo.com/

Hey, I got nothing to do today but smile
-Simon and Garfunkel __._,_.___

SPONSORED LINKS
Custom software development Database development software Embedded software development
Offshore software development Software development

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise