timbreitkreutz/omniauth-flickr — Issue #1: Oops! Flickr doesn't recognise the permission set.
Author: chrissearle
Created: 2011-12-09 09:28:04+00:00
State: open

I'm getting the error "Oops! Flickr doesn't recognise the permission set." when using the 0.0.8 gem.

/auth/flickr sends me to http://www.flickr.com/services/oauth/authorize?oauth_token=TOKEN OK

This shows me that I've asked for "Showing you public photos and/or video from Flickr" and nothing else.

This is correct since my init for the flickr strategy asks for :scope => 'read'

But when I say - OK - auth it I get "Oops! Flickr doesn't recognise the permission set."

Googling this has only given me one hint - it seems that most hits end up pointing back to this post:

http://www.flickr.com/groups/api/discuss/72157626891119797/#comment72157627007728025

where it mentions adding the optional perms= option

If I take the URL that I got:

http://www.flickr.com/services/oauth/authorize?oauth_token=TOKEN

And replace it with

http://www.flickr.com/services/oauth/authorize?oauth_token=TOKEN&perms=read

then it works fine.