Bug 381664 - Tool leads to the home page of Flickr and 'An error has occurred: Invalid Frob It can not be continued.'
Summary: Tool leads to the home page of Flickr and 'An error has occurred: Invalid Fro...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: 5.6.0
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 07:35 UTC by Iris Hammer
Modified: 2018-02-04 07:55 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iris Hammer 2017-06-26 07:35:20 UTC
I tried to export files to Flickr on 3 different machines (Desktop and Laptop) with digikam 5.5.0 and 5.6.0 on i686 and x86_64. 
I think Flickr turned off the old authentication flow with frob. I found a threat at Flickr Api group: 
https://www.flickr.com/groups/api/discuss/72157682498177221/

At least in the documentation of the Flickr-API the flickr.auth.getFrob is shown as deprecated:
https://www.flickr.com/services/api/flickr.auth.getFrob.html

So I can not connect to the Flickr Api.
Comment 1 Maik Qualmann 2017-07-03 20:20:46 UTC
*** Bug 381969 has been marked as a duplicate of this bug. ***
Comment 2 jon33040 2017-07-05 07:01:26 UTC
I can't reproduce this right now due to other issues but I did see it over the weekend before my flickr installation got broken. The thread from the flickr APIs group discussion referenced in the first comment suggests flickr have turned off the deprecated mechanism with no notice.
Comment 3 jon33040 2017-07-05 19:35:47 UTC
Having solved my other problems, I can now confirm that I see this behaviour.
Comment 4 Kevin Ould 2017-07-16 14:06:37 UTC
I believe Flickr has started using the Oauth for authentication.

See here: https://www.flickr.com/services/api/auth.oauth.html
Comment 5 caulier.gilles 2017-07-16 14:11:58 UTC
And we plan to use QOAuth2 library to perform remote web service authentification.
Comment 6 Kevin Ould 2017-07-16 14:16:16 UTC
(In reply to caulier.gilles from comment #5)
> And we plan to use QOAuth2 library to perform remote web service
> authentification.

Sweet, glad this is being looked at. Is there a timeline for the implementation? I will need to use an alternative in the meantime.
Comment 7 caulier.gilles 2017-07-16 14:19:47 UTC
A lots of code need to be re-writed and tested. You need to be patient.

Gilles Caulier
Comment 8 nomasteryoda 2017-08-03 18:54:59 UTC
I had my /home drive die last evening and of course my authentication was within the config directory for DigiKam. So I tried to login today and found the same error is happening to me. I suppose Yahoo has implemented Oauth2 as of today August 3, 2017. Oh Joy.

You guys have created a masterpiece of photo management and I truly appreciate your efforts. Will wait patiently for a fix.
Comment 9 Robert Cabane 2017-08-20 06:43:45 UTC
Just the same here. I use Flickr on a regular basis, thank you for your amazing work !
Comment 10 Maik Qualmann 2017-08-20 15:21:47 UTC
Git commit 2dd941615dfc35684152e69be6437475633abe71 by Maik Qualmann.
Committed on 20/08/2017 at 15:19.
Pushed by mqualmann into branch 'master'.

first step to porting Flickr service to OAuth
removing no longer existing Zooomr service
disable currently 23 service
FIXED-IN: 5.7.0

M  +2    -1    NEWS
M  +3    -3    common/libkipiplugins/CMakeLists.txt
M  +128  -610  flickr/flickrtalker.cpp
M  +14   -18   flickr/flickrtalker.h
M  +2    -1    flickr/flickrwidget.cpp
M  +39   -76   flickr/flickrwindow.cpp
M  +1    -2    flickr/flickrwindow.h
M  +4    -43   flickr/plugin_flickr.cpp
M  +0    -4    flickr/plugin_flickr.h

https://commits.kde.org/kipi-plugins/2dd941615dfc35684152e69be6437475633abe71
Comment 11 Maik Qualmann 2017-08-25 10:32:08 UTC
*** Bug 383987 has been marked as a duplicate of this bug. ***