boncey/scribe-java — comment on commit bfbba77e4cdbfa4eeaf499b12790420e7392932d
File:  line 0
By sigbjod:

I've tested the code and seems to be working for me too (for those that haven't read https://github.com/callmeal/Flickr4Java/issues/2#issuecomment-3505254, which pretty much says the same).

I have two remarks regarding your commit:
1- it seems to me that getRequestTokenEndpoint(String callbackUrl) is never called, since the implementation of OAuth 1.0a in Scribe uses OAuth10aServiceImpl which in turn calls the getRequestTokenEndpoint(). Feel free to correct me if I'm wrong.

2- when doing the 2nd step in the OAuth dance (by calling the getAuthorizationUrl function), Flickr seems to be a bit picky regarding the perms attribute. That is, by not passing it, I get a "Oops! Flickr doesn't recognise the permission set." error after accepting the request on Flickr's site. I've unblocked this in a quick and dirty fashion by adding "&perms=read" to the string returned by the getAuthorizationUrl function, but this is definitely not a good solution. Have you (or anyone else) encountered this problem, and if so, do you have an elegant solution for it?