Bug 387422 - Flickr export authorization does not work
Summary: Flickr export authorization does not work
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: 5.6.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 22:10 UTC by Karl F
Modified: 2018-08-15 07:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
First screenshot (137.46 KB, image/jpeg)
2018-08-13 23:02 UTC, Antonio García
Details
Second screenshot (129.02 KB, image/jpeg)
2018-08-13 23:03 UTC, Antonio García
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl F 2017-11-28 22:10:11 UTC
Using the 5.7.0 digikam appimage, I can not export to Flickr.
If I right-click on an album, select Export to Flickr, then start Uploading, 
a popup window appears: "Failed to upload photo into Flickr. Host requires authentication
Do you want to continue?"
If I click on continue, nothing happens.
If I click on "Change Account", I'm redirected to my internete browser on Flicker, "FlickrUploadr wants to link to your Flickr account".
When I click on "Ok, I'll authorize it", I'm redirected to this URL: "http://127.0.0.1:1965/?oauth_token=72157666876444419-f220bd809f984816&oauth_verifier=ae5fb1bc3b08ae65"
which displays a blank page.
Comment 1 Maik Qualmann 2017-11-29 06:54:23 UTC
The blank website is normal. In the Flickr tool now your username should be displayed and the upload should work.

Maik
Comment 2 caulier.gilles 2018-06-16 12:32:36 UTC
Thanh,

If you merge back your GSoC 2018 devel branch to master for the future 6.0.0-beta1, i suppose that file can be closed. Right ?

Gilles Caulier
Comment 3 Thanh Trung Dinh 2018-06-16 13:44:44 UTC
Gilles,

I'm not sure if I reproduced the bug that @Karl might encounter, but here is what I found : right-click on an album -> export to Flickr will now bring me to Login page of Flickr, Login and "I'll authorize" will take me to blank page (which is normal, since O2 captures redirect Url to extract access token). However, the album won't appear automatically in export window as I expected. So, I think that if it's is reproducible, it should be resolved in the next phase when I will work on factorization code.

Thanh.
Comment 4 Antonio García 2018-07-28 13:46:14 UTC
When adding a Flickr account and trying to change account I get this message:

¡Oh! Flickr no reconoce el "oauth_token" que esta aplicación está tratando de usar.

(Flickr does not recognize the "oauth token" this app is trying to use).

So, I cannot link digiKam 5.9.0 to my Flickr account on Mageia 6 (64 bits). It worked fine on the previous version.
Comment 5 Thanh Trung Dinh 2018-08-11 01:03:25 UTC
Antonio,

I cannot reproduce that. Is what you mean changing between 2 different accounts?

Thanks,

Thanh
Comment 6 caulier.gilles 2018-08-11 13:17:07 UTC
Antonio,

Did you see the previous message from Thanh ?

Gilles Caulier
Comment 7 Antonio García 2018-08-11 23:32:31 UTC
Sorry for the delay in answering.

Not changing accounts but adding a new one. No account to choose in the dropdown list, so I click "Add another account" button. No need to click anything else, the browser opens the Yahoo login/Flickr authorization window. When the permission is granted the message about the oauth token appears in the next browser window. It states that it is an external problem.
Comment 8 Maik Qualmann 2018-08-13 12:05:17 UTC
The error message appears in the browser? Maybe upload a screenshot?

Maik
Comment 9 Antonio García 2018-08-13 23:02:17 UTC
Created attachment 114425 [details]
First screenshot

First screenshot.
Comment 10 Antonio García 2018-08-13 23:03:13 UTC
Created attachment 114426 [details]
Second screenshot

Second screenshot.
Comment 11 Maik Qualmann 2018-08-14 13:59:31 UTC
I typed a bit of Spanish and translated it into Google Translate. It looks like Flickr has a problem creating a token. Do I see in the bottom line a no script plugin? Disable this in any case and allow all Java scripts and try again.

Maik
Comment 12 Antonio García 2018-08-14 23:13:07 UTC
It worked. Thanks.