Flickr filter expiry

Just started to get:

" could not be displayed because:
Invalid API Key (Key has expired)"

On photos that were pulled with the <typo:flickr img=…> method.

I’ll update it ASAP; probably tonight.

Scott

On Thu, Aug 31, 2006 at 10:48:12AM -0700, Scott L. wrote:

I’ll update it ASAP; probably tonight.

It’s on your blog too :slight_smile:

Lighthouse at Dawn :: scottstuff.net

Presumably it’s easier to update my own config/environment.rb instead of
everybody using your API key?

-Dom

I requested an API key, plugged it into environment.rb and restarted
mongrel, but it still gives me the error. Any special tricks we should
know about?

Thanks,
Chris

It wasn’t our key that expired; there was a key hard-wired into the
Flickr library that we’ve bene using. See
http://www.typosphere.org/trac/changeset/1256 for the fix.

If this works for everyone then I’ll build Typo 4.0.4 and release it
soon.

Scott

My understanding is that a Flickr API key is issued on a per application
basis. I’m a bit confused as to whether I should be applying for a key
just
for my blog?

James.

You shouldn’t because it’s a developer API key and you’re not the
developer… you’re the user.

:slight_smile:

If you were to write your OWN Flickr Code, then you’d need one…

Jake

Since no one else has commented yet, I thought I’d let you know I
plugged in the change and it works perfectly.

On 9/1/06, Scott L. [email protected] wrote:

I requested an API key, plugged it into environment.rb and restarted

It’s on your blog too :slight_smile:
http://rubyforge.org/mailman/listinfo/typo-list


Sterling J. Anderson
sterling [at] sterlinganderson.net
http://sterlinganderson.net/
608.239.8387

It should already be in your config/environment.rb near the bottom.

That’s what I thought - but looking at the changeset it looks like it
just
removes the hard-coded key and replaces it with a constant which
presumably
I need to define in my environment? What key should I use for this
constant?

James.

doh! sorry - i should have looked before asking - thanks. i think i was
confused because people had been talking about requesting an api key
earlier
in this thread. it works fine now thanks :slight_smile:

James.

The key is already defined in environment.rb. The change just starts
using that key. All you need to do is make the change and you will be
set.

On 9/1/06, James M. [email protected] wrote:

You shouldn’t because it’s a developer API key and you’re not the

application basis. I’m a bit confused as to whether I should be
http://www.typosphere.org/trac/changeset/1256 for
> I requested an API key, plugged it into environment.rb and
> > On Thu, Aug 31, 2006 at 10:48:12AM -0700, Scott L. wrote:
> >
> >

http://rubyforge.org/mailman/listinfo/typo-list


Sterling A.
sterling [at] sterlinganderson.net
http://sterlinganderson.net/
608.239.8387