• Resolved PolyWogg

    (@polywogg)


    I am trying to set up Photonic to give me a bit more granularity of control in how Flickr appears on my site. I can “embed” easily enough, but wanted more than that.

    I created API on Flickr, no issues there. Got my two API keys, added my default user. All good.

    When I go to authenticate for the back-end, I get an “oauth_token” error from Flickr. It doesn’t give me the option to try to login in or anything.

    Oops! There’s no oauth_token parameter.

    An external application has requested your login credentials and permission to perform certain actions on your behalf, but has failed to include all the required data.

    You don’t really need to know what this means, except that you can’t use the application until this problem is fixed. (It’s a third-party problem, not a Flickr problem.)

    There are lots of applications using the Flickr API. If you are curious about this, visit the Flickr Services page to see more examples of cool stuff. Otherwise, you might like to head to your home page…

    The error page has the following URL https://www.flickr.com/services/oauth/authorize?oauth_token=&perms=read.

    If I ignore authentication, and try to just use the keys and user id, it tells me the key isn’t even the right format. I chose a non-commercial key as I’m only using a blog. Is it possible it doesn’t like non-commercial keys?

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    If I ignore authentication, and try to just use the keys and user id, it tells me the key isn’t even the right format.

    This is illustrative. It most likely points to a copy-paste error for the API key. Note that the field is quite sensitive, so if you have invisible characters (such as spaces, tabs or end-of-line characters), the API will complain that the key is not valid. An easy way to verify this is to go to the option for the API key, do a Ctrl+A (Select All), then Ctrl+C (Copy), then paste the value in between quotation marks in a plain text editor.

    I chose a non-commercial key as I’m only using a blog. Is it possible it doesn’t like non-commercial keys?

    That is not an issue. No Photonic user uses commercial API keys – a commercial API key is something that I could have used if I bundled my API key with the plugin. It has higher usage limits and is required for commercial plugins. In your case you are using Photonic to simply display your own photos.

    Thread Starter PolyWogg

    (@polywogg)

    Thanks, that got me sorted. Odd though, I copied from the page where Flickr says “Here you go” more than once, didn’t work. It has it in yellow on reverse black so maybe there’s some weird codes in there. However, if I click “out” of that area and go to the summary page, the keys are shown there in plain text near the title of the APP. So I copied from there, worked no problem. I also played with the app being public / private, but that made no difference, it works either way.

    Yay, an easy fix! Figured it had to be something easy since nobody else in the support list had a problem on the Flickr side with that. Or as they say in development, “At least it wasn’t a Google Authorization problem”. 🙂

    Thanks!

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to authenticate Flickr’ is closed to new replies.