|
|
Re: Flickr Authentication: msg#00089
web.flickr.api
|
Subject: |
Re: Flickr Authentication |
Good news, since I'm only using this on my accounts it shouldn't be an issue. Thanks for the clarification. -S On 10/27/06, Dan Coulter <
dan-X6lOHXUQQtu+XT7JhA+gdA@xxxxxxxxxxxxxxxx> wrote:
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-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx> 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-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> To: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx
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.
-- 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
__,_._,___
|
|