flickraw icon indicating copy to clipboard operation
flickraw copied to clipboard

Neither authentication method work.

Open olavfosse opened this issue 5 years ago • 1 comments

I have set up the the FLICKRAW_API_KEY and FLICKRAW_SHARED_SECRET environment variable, but authentication does not work either way.

(byebug) FlickRaw::Flickr.new
*** FlickRaw::FlickrAppNotConfigured Exception: No API key defined!

nil
(byebug) FlickRaw::Flickr.new ENV['FLICKRAW_API_KEY'], ENV['FLICKRAW_SHARED_SECRET']
*** ArgumentError Exception: wrong number of arguments (given 2, expected 0)

nil

olavfosse avatar Mar 02 '20 11:03 olavfosse

Hi olav,

The documentation you see at the head of the master branch does not match the version of the gem you're using. I assume you're using 0.9.10? The documentation for that is here: https://github.com/hanklords/flickraw/tree/V0.9.10

BTW, we moved FlickRaw to the Flickr namespace a few months ago, and development continues there: https://rubygems.org/gems/flickr

cyclotron3k avatar Mar 02 '20 12:03 cyclotron3k