Drupal vs Flicker (getting error 1 and 2 to stop)

03 Feb in drupal, module
article image

I spent quite a bit of time trying to get that Flickr to work with my blog. 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...

My 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
  7. Use that in the blocks

Then mine worked... yeah....

Here is another resource for you: http://drupal.org/node/265820

This was just so that my photos would appear on my personal blog, there is more that can be done with configurations, however, I was just happy to have the photos where I wanted them.

Comments

Thank you!

I could kiss you! I spent three days trying to figure out what I was doing wrong and couldn't find the darn user id, etc. So you are a lifesaver!

Post new comment