Premshree Pillai ([info]premshree) wrote,
@ 2005-09-20 02:37:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Current music:Dio - Mystery
Entry tags:api, flickr, flickr-ruby, ruby

Ruby API for Flickr - New Auth Mechanism Implemented

So I took some time out and implemented the new Flickr auth mechanism in the Ruby interface to Flickr.

Time for a bath now.



(Post a new comment)


[info]drbrain
2005-09-19 10:01 pm UTC (link)
It would be nice if you wrapped the whole darn thing up in module Flickr because your API stomps all over the namespace. include REXML's addition of Document collided with one of our classes in the 43 things codebase.

(Reply to this)

Why i get error.help me
(Anonymous)
2005-10-06 06:33 pm UTC (link)
The error is:
ERROR[108]: Invalid frob

My code is:
frob = obj.get_frob
p frob
p obj.get_login_url(frob, 'write')
token = obj.get_token(frob)
.................

Can you contact me by msn or mail:jkjlucky@hotmail.com
Thanks a lot.

(Reply to this)(Thread)

Re: Why i get error.help me
[info]premshree
2005-10-07 02:08 am UTC (link)
Umm, do you have an application ID?

(Reply to this)(Parent)(Thread)

Re: Why i get error.help me
(Anonymous)
2005-10-07 09:17 am UTC (link)
Of course i have.
Perhaps i found the reason.
After i access the 'login url' that program generated in a web exploer then the program can generate a valid frob.
But it means every time i access the flickr like that?I think i can't request my user to access that url every time.
I have read the spec of the flickr but I'm confused by it~~~~~~~~~~~~~~~~~~~~~~~
Can you give me a detail example to use your api?Thanks a lot.
jkjlucky@hotmail.com

(Reply to this)(Parent)(Thread)

Re: Why i get error.help me
(Anonymous)
2005-10-07 10:31 am UTC (link)
Oh~I think i must correct something about above.
In fact i access the 'login url' that program generated in a web exploer then the web url redirect to 'http://Callback URL/?frob=***************' ,so i cut and paste the ************** to my program and the program will think it as a valid frob.
why?;)
jkjlucky@hotmail.com

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…