simplesconsultoria / sc.galleria.support

An simple gallery integration for Plone
4 stars 2 forks source link

Flickr, Picasa and Facebook broked #49

Open jeanferri opened 9 years ago

jeanferri commented 9 years ago

It does not work anymore the plugins for Flickr, Picasa and Facebook galleries. I tested it in a specific gallery on Flickr:

https://www.flickr.com/photos/camaradomingosmartins/sets/72157650611105167/

The problem I discovered using Firebug is that Flickr API is invoked over http otherwise https:

http://api.flickr.com/services/rest/?&format=json&jsoncallback=jQuery172044271056967805755_1425080574096&api_key=2a2ce06c15780ebeb0b706650fc890b2&method=flickr.photosets.getPhotos&extras=url_t,url_m,url_o,url_s,url_l,url_z,description&sort=interestingness-desc&per_page=20&photoset_id=72157650611105167&_=1425080583734

It is not working anymore, but using https it's fine.

The same for Picasa and Facebook, but Picasa is even more broked because it have changed the base URL to https://plus.google.com/photos/...

I could not discover how fix it in the source... Any idea?

jeanferri commented 9 years ago

Facebook have a similar issue, Firebug show me a broked API call. For example:

https://www.facebook.com/media/set/?set=a.371858606263963.1073741828.168596893256803

The API call this:

http://graph.api.facebook.com/371858606263963/photos&callback=jQuery17206500388977635226_1425322810995&limit=20?_=1425322813879

jeanferri commented 9 years ago

It seems Facebook has changed the API:

https://developers.facebook.com/docs/graph-api/reference/v2.2/album/photos

I tried to call like this:

http://graph.facebook.com/v2.2/371858606263963/photos

But it is asking for authentication.

jeanferri commented 9 years ago

It seems galleria.io has removed the support for Facebook albums:

http://galleria.io/docs/

Maibe updating this lib may fix the bugs.