hanklords / flickraw

Ruby library to access flickr api.
http://hanklords.github.com/flickraw/
MIT License
507 stars 98 forks source link

Neither authentication method work. #113

Open olavfosse opened 4 years ago

olavfosse commented 4 years ago

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
cyclotron3k commented 4 years ago

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