flickr in ruby on rails
October 18, 2006 // ruby tutorials // 2 Comments
wow – this could be the most frustrating thing to figure out. it may have been cause i was just having a long day, but let me share the two best resources to get a functioning ruby on rails version of a flickr pull.
In efforts to share some wisdom on what really needs to happen, check out the following:
The ROR Screencast really will get something functioning, but it leaves out the following information about obtaining a valid API key.
Register for a Flickr API
Register for a Flickr API. Be sure to put non-commerical use. The key generated is the important thing.
Install Flickr Gem
In your rails app install the flickr gem:
gem install flickr
Then go in and edit the flickr gem and scroll down and change the API key provided in the gem. Insert you’re newly obtained API Key.
Initialize your API
The final thing to do is get your API functioning. Check out Generating a Flickr Token near the bottom of this page. That will get things finalized.
Code
Go back to the ROR Screencast on Flickr and follow along. Things should work for you now.
Happy coding!
Putting Flickr on your Ruby on Rails App at There was Code; Then there was AJAX! said...
[...] It’s confusing to mesh the various gems out there on Rails for Flickr. Here are some clarifications on solving the ROR Flickr challenges using the ‘flickr’ gem.read more | digg story Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. [...]
October 18th, 2006
matthewvb » Blog Archive » del.icio.us on Rails (and other XML feeds) said...
[...] Enjoy pulling feeds! (See my info on implementing flickr on ruby for more info on that.) [...]
December 20th, 2006