Trying to impliment the Rails Flickr screen cast

I am trying to experiment with Flickr so I am following the screen
cast on the Rails web site.

I have installed the flickr gem and got an API key from flickr. I am
having an issue when I try to run the example though as I am told that
my API key has expired. As I only got it about 20 minutes before
writing this I find that hard to take.

Here is a copy of the error message.

Showing app/views/flickr/_photo.rhtml where line #1 raised:
Invalid API Key (Key has expired)
Extracted source (around line #1):
1: <img class=“photo” src=<%= photo.sizes[0][‘source’] %>">

/usr/local/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in
request' /usr/local/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:142:inmethod_missing’
/usr/local/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:350:in
sizes' #{RAILS_ROOT}/app/views/flickr/_photo.rhtml:1:in_run_rhtml_47app47views47flickr47_photo46rhtml’
app/controllers/flickr_controller.rb:5:in `search’

Has anybody got any Ideas as to what the problem is?

Thanks,

Daivd.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs