Closed chellman closed 10 years ago
It shouldn't need to have a user login for Flickr, but you do need to have a working Flickr API key and secret in your YAML file, or specified on the command line with --flickr-key=xxx --flickr-secret=yyy
. Are you doing that and still seeing this error?
Yes, the key and secret are in the YAML file. I just tried it from the command line as well, and I get the same error.
Well, it's working for me. I would double check your key and secret, and maybe try to use them in a different context to make sure that's not where the problem is. I also noticed that my copy seems to have a slightly newer version of Flickraw, which might be the culprit. Maybe try it again with https://github.com/kueda/changebrackets
Your fork worked for me, so maybe that updated flickraw really matters. Thanks very much!
This is a pretty cool project! Thanks for all of this code. I'm having some trouble with the Flickr integration. It seems like it really wants to authenticate with OAuth, which should be needed for searching public photos (if I understand everything correctly). In any case, the error below is what I'm seeing. We're interested in Instagram and Flickr for now, and Instagram seems to be working great.
Here's the command and backtrace.
% bundle exec ruby fireslurp.rb -c config.yaml exampletag
/home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw/oauth.rb:156:in'
post': FlickRaw::OAuthClient::FailedResponse (FlickRaw::OAuthClient::FailedResponse) from /home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw/oauth.rb:92:in
post_form' from /home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw/api.rb:58:incall' from /home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw/api.rb:48:in
initialize' from /home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw.rb:18:innew' from /home/deploy/.rvm/gems/ruby-1.9.3-p547/gems/flickraw-0.9.7/lib/flickraw.rb:18:in
flickr' from fireslurp.rb:175:inclient' from fireslurp.rb:141:in
search' from fireslurp.rb:137:inmethod_missing' from fireslurp.rb:247:in
block (2 levels) in write_to_google' from fireslurp.rb:246:ineach' from fireslurp.rb:246:in
block in write_to_google' from fireslurp.rb:243:ineach' from fireslurp.rb:243:in
write_to_google' from fireslurp.rb:287:in `