Announcement

#1 2017-08-17 03:19:54

ceinmart
Member
2017-08-17
12

Flickr2Piwigo not working

Hello

First , sorry for my limited english.

I'm new here and I just installed piwigo on my host and the first thing I'd like to do is import all my albums from my flickr and for that I has installed the plugin.

I followed all steps describe into the configuration tab and saved.
At Import tab, when I click in "authenticate" they only redirect to https://www.flickr.com/ and do nothing else...
Am I missing something ?

And one more note , this plugin works only with PHP 5.2 ?
At first I configured my host to use PHP 7, when I click at Import tab, fews PHP warnings appear , then I was downgrading the version and just stop with this warning when I reach version 5.2... :(


Piwigo version: 2.9.1
PHP version: 5.2
MySQL version: 5.6.36
Piwigo URL: http://fotos.imartins.com.br

Offline

 

#2 2017-08-17 12:40:01

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13082

Re: Flickr2Piwigo not working

I have also received 2 reports of [extension by mistic100] Flickr2Piwigo not working (on Piwigo.com). Indeed it seems Flickr has made some changes in its API :-/ By the way, I find it very disappointing to break remote applications using your API. On the other side, a pLoader, last version in 2009, still works with a Piwigo released in 2017! Because we cared about not breaking the API.


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#3 2017-08-18 04:24:24

ceinmart
Member
2017-08-17
12

Re: Flickr2Piwigo not working

Hi Plg ,

Thank you for your answer.

Is there intention to try solve the flickr2piwigo ?
I really prefer use it, because I want to keep my albuns, tags, descriptions...

I check the pLoader and it doesn't look be capable to keep this informations.

Thanks
Cesar

Offline

 

#4 2017-08-18 10:10:19

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13082

Re: Flickr2Piwigo not working

mistic100 did create this great plugin and maybe he will be OK to solve this :-) If not, we will have to wait for someone else to look into this code and fix it for the new Flickr API!


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

#5 2017-08-18 13:12:13

eliz82
Member
Romania
2016-04-27
192

Re: Flickr2Piwigo not working

plg wrote:

I find it very disappointing to break remote applications using your API. On the other side, a pLoader, last version in 2009, still works with a Piwigo released in 2017! Because we cared about not breaking the API.

You cannot keep bugs or weird stuff FOREVER in your code for the sake of compatibility. I barely used two api functions of Piwigo and found a lot of weird stuff. Some of them I reported http://piwigo.org/forum/viewtopic.php?id=26633 . Some of them not ... for example you cannot access data the same for json and php output in the same way, example response[foo][0][bar] for php and response[foo][bar] for json ... i found this weird.

Today on this planet you cannot transport big equipment on trains because somebody (for compatibility sake) chosen to have the same spacing distance between rails to be compatible with horses (the legend say they are compatible with the roman war chariot wheel spacing chosen 2000 years ago).

But you neither can be in the opposite side like Facebook who are changing their api twice a year, breaking apps compatibility all the time. :)

So i think Flickr is fine. They are not making changes to often (in my opinion).

P.S.  maybe Flickr will allow working with the old api for some time but you must specify the api version in the call. example flickr.com/api/v2/somecall/ . the developer of Flickr2Piwigo must search this, if he want a quickfix.

Offline

 

#6 2017-08-21 01:45:49

ceinmart
Member
2017-08-17
12

Re: Flickr2Piwigo not working

I dig a little about all this and confirm the old authentication method was disabled for good by Flickr.
Now only the OAuth method works.
(appear this is announced for years... and the day becomes)

I was looking if someone was solve this on GitHub and appear this guy was implemented the OAuth .

https://github.com/DantSu/PHPFlickr-Oauth

He have a website explaining the use :

http://www.developpeur-web.dantsu.com/f … -phpflickr

But I'm not PHP developer and my developer days was gone .... I really don't know PHP to able merge the new methods ... (I check doing a diff , isn't much code modification, but appear have some structure change on way to call the methods where will need adjust the plugin too)

I will post this information into the flickr2piwigo issues on github and cross my fingers for someone try implement this.

Thanks
Cesar

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact