|
|
Re: Flickr Authentication: msg#00098
web.flickr.api
|
Subject: |
Re: Flickr Authentication |
thanks guys i had a misunderstanding about what a "token" is. it makes sense now. ----- Original Message ---- From: Marko Vuksanovic <markovuksanovic-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> To: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx Sent: Saturday, October 28, 2006 7:15:14 AM Subject: RE: [yws-flickr] Flickr Authentication
I guess that you have not authenticated your application with
more than a 1000 accounts.... As much as I know, a token is created for each
account.... You cannot have 1000+ tokens for a single account....
From: yws-flickr@yahoogro ups.com
[mailto:yws- flickr@yahoogrou ps.com] On Behalf Of Dan Coulter
Sent: Saturday, October 28, 2006 6:44 AM
To: yws-flickr@yahoogro ups.com
Subject: Re: [yws-flickr] Flickr Authentication
On 10/27/06, jeff <farble1670@yahoo. com>
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@dancoulter. com>
To: yws-flickr@yahoogro ups.com
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.dancoult er.com/
http://www.phpflick r.com/
It is time - http://e-hobo. com/
Hey, I got nothing to do today but smile
-Simon and Garfunkel
__._,_.___
SPONSORED LINKS
__,_._,___
|
|