flickr in ruby on rails

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!

2 Responses to flickr in ruby on rails
  1. [...] 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. [...]

  2. [...] Enjoy pulling feeds! (See my info on implementing flickr on ruby for more info on that.) [...]

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Trackback URL http://www.matthewvb.me/2006/10/18/flickr-in-ruby-on-rails/trackback/