logo       

Re: Flickr Authentication: msg#00091

web.flickr.api

Subject: Re: Flickr Authentication

On 10/27/06, jeff <farble1670-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:
ummm. are you saying that the server that defines the token behind flickr.com is 100% guaranteed to never lose a token? are you you saying that the 1000+ tokens i've created in testing over the past month are sitting in some server somewhere using up memory, and they will be, forever? i must be missing something.

Remember that if you re-authenticate your web app, it's not creating a new token, it's re-using the old one.  The only way you can create a new one with the same account would be to delete the old one completely.  To create 1000+ persistent tokens, you would need to authenticate to your application with 1000+ accounts.

----- Original Message ----
From: Dan Coulter <dan-X6lOHXUQQtu+XT7JhA+gdA@xxxxxxxxxxxxxxxx>
To: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx
Sent: Friday, October 27, 2006 1:00:57 PM
Subject: Re: [yws-flickr] Flickr Authentication

Tokens never expire.  The token can, however, be revoked by the user who authenticated on an app-by-app basis.  It is fine to store them, as long as you provide a "logout" link, per the TOS.

On 10/27/06, jeff <farble1670@yahoo. com> wrote:

how are you defining a "session"? you said "java app", so i assume you did not mean http session.

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.

IMHO, it's incorrect to be storing a token anywhere persistently. i hope someone can correct me there if i've misspoken.

----- Original Message ----
From: sangraal aiken < sangraal@gmail. com>
Sent: Friday, October 27, 2006 11:03:33 AM
Subject: Re: [yws-flickr] Flickr Authentication

Ok, so if I have a token already, do I have to go through the authentication process for each session?

-S

On 10/27/06, jeff < farble1670@yahoo. com> wrote:

sangraal,

yes, that's my understanding. the user has to accept the frob (and login if they haven't already) before you can get a token for them.


----- Original Message ----
From: sangraal aiken < sangraal@gmail. com>
To: yws-flickr@yahoogro ups.com
Sent: Friday, October 27, 2006 10:18:08 AM
Subject: [yws-flickr] Flickr Authentication

I'm trying to use a java program to login in to my Flickr accounts only. The problem I'm having is with the authentication process. I need to be able to run the software without user interaction. I don't mind authenticating the app by hand, storing the token to a database so that I can process automatically in the future, but this method doesn't seem to work.

It seems like I can't get a valid from from flickr unless the user signs in and authenticates that individual session. Is this the case or am I just missing something?

Currently this is my process:
request frob
build auth. link, unless I already have a token stored
make authenticated call... currently recentlyUpdated.

If I don't click the generated auth. link, I get an invalid frob message from flickr.

Any help will be greatly appreciated.

-Sangraal A.






http://www.phpflick r.com/
It is time - http://e-hobo. com/

Hey, I got nothing to do today but smile
-Simon and Garfunkel





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