cyclotron3k / flickr Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hanklords/flickraw
A Ruby client for the Flickr API
License: MIT License
This project forked from hanklords/flickraw
A Ruby client for the Flickr API
License: MIT License
Hey,
How can I deal with this situation?
https://www.flickr.com/groups/api/discuss/72157721918336667/
Following your install instructions, I typed 'gem install flickr' into the terminal from inside the project directory. It said it installed the gem but there was no creation of any directory or documentation.
Hi,
I've been using flickraw for some years. Over the last few days I started to see a 100% failure rate when making requests to Flickr's API at the photos.getInfo
endpoint.
I first landed here at your updated gem, Flickr, and upgraded from Flickraw 0.9.0 to flickr 2.0.2. However, I still see the same error, even when running the "Simple" example code
7.0.3@3.1.0 (main)> require 'flickr'
flickr = Flickr.new(ENV['FLICKR_API_KEY'], ENV['FLICKR_SECRET'])
list = flickr.photos.getRecent
id = list[0].id
secret = list[0].secret
info = flickr.photos.getInfo :photo_id => id, :secret => secret
# =>
NoMethodError: undefined method `keys' for "year":String
elsif h.keys == ['_content']
^^^^^
from /Users/ben/Code/railsblog/vendor/bundler/ruby/3.1.0/bundler/gems/flickr-9ced8cdfa592/lib/flickr/response.rb:11:in `build'
It seems the response builder logic is receiving a string "year"
instead of a hash for the getInfo
method call. The getRecent
call appears to succeed:
7.0.3@3.1.0 (main)> list.count
=> 100
7.0.3@3.1.0 (main)>
id = list[0].id
secret = list[0].secret
7.0.3@3.1.0 (main)> id
=> "52082470912"
7.0.3@3.1.0 (main)> secret
=> "6db346ee90"
Any idea what is going wrong here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.