Broken oauth in 0.9.3?
Closed this issue · 3 comments
I couldn't connect with 0.9.3 but 0.9 was fine.
FlickRaw.api_key="8a8.....5aa0a"
=> "8......05aa0a"
FlickRaw.shared_secret="11...684b"
=> "11....4b"
?> flickr
ArgumentError: wrong number of arguments (7 for 6)
from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw/oauth.rb:134:instart' from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw/oauth.rb:134:in
post'
from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw/oauth.rb:81:inpost_form' from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw/api.rb:52:in
call'
from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw/api.rb:43:ininitialize' from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw.rb:17:in
new'
from /Library/Ruby/Gems/1.8/gems/flickraw-0.9.3/lib/flickraw.rb:17:in `flickr'
from (irb):6
I just checked and net/http interface changed between 1.8 and 1.9. I am looking for a fix.
In the meantime, you can either use ruby 1.9 or stay with flickraw 0.9.
Thanks for the bug report.
Mael
Hello dtropp,
Can you please test the version I pushed on github. It should fix the issue.
Regards,
Mael
I pushed V0.9.4 which includes this fix.