You are hereBlogs / seanlange's blog / Flickr for Drupal not Simple Error 1 or 2

Flickr for Drupal not Simple Error 1 or 2


By seanlange - Posted on 15 August 2008

I spent the last hour trying to get that little Flickr to work. It was a nightmare... Hopefully someone will come across this blog and find their solution much, much faster than I did.

The problem:
The user id
I got all kinds of errors no matter what I tired.
error 1 user not found
error 2 undefined or something unknown...

The solution:
Don't put your user name in the flickr information (under the two API keys you now have).
Make sure you use the non "user" blocks
You want to put your user ID in the individual blocks.
IT GETS WEIRDER
Don't use your user name.... no, user ID is different...
Here's how I found mine.

1. Try this link, should skip you the step 6: http://www.flickr.com/services/api/explore/?method=flickr.photos.getRecent

2. Go back where you got your API key http://www.flickr.com/services/api/keys/apply/

3. Goto API Documentation

4. choose flickr.photos.getRecent (other would probably work)

5. at the bottom choose API Explorer

6. on the left is your user ID

Use that in the blocks.

Then mine worked... yea....

Some other resources for you:
http://drupal.org/node/265820

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.