ctagg / flickr Goto Github PK
View Code? Open in Web Editor NEWAn update of Scott Raymond's insanely easy flickr library
License: MIT License
An update of Scott Raymond's insanely easy flickr library
License: MIT License
If you've suddenly started getting this error (as I did), I believe it's due to the base url used in the library. It's currently set to "http://flickr.com", which Flickr seems to have just started redirecting (which Net::Http doesn't follow by default).
The quickest solution is to change this in the gem code (line 46) to:
HOST_URL = 'http://api.flickr.com'
I am getting this File does not exist followed by a period error after trying to use @photos = flickr.photos(:tags => @tags, :tag_mode => 'all') I made no changes and it was working fine before, maybe something has changed on the flickr end. This is the console output:
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.12/lib/xmlsimple.rb:984:in find_xml_file' /usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.12/lib/xmlsimple.rb:168:in
xml_in'
/usr/lib/ruby/gems/1.8/gems/xml-simple-1.0.12/lib/xmlsimple.rb:203:in xml_in' /usr/lib/ruby/gems/1.8/gems/ctagg-flickr-1.0.8/lib/flickr.rb:194:in
request'
/usr/lib/ruby/gems/1.8/gems/ctagg-flickr-1.0.8/lib/flickr.rb:201:in photos_request' /usr/lib/ruby/gems/1.8/gems/ctagg-flickr-1.0.8/lib/flickr.rb:133:in
photos_search'
/usr/lib/ruby/gems/1.8/gems/ctagg-flickr-1.0.8/lib/flickr.rb:123:in photos' /home/dlynam/rails_apps/kohlage/app/controllers/flickrs_controller.rb:9:in
index'
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.