It's been way too long, but I finally got around to updating the Facebook Photo Gallery plugin for the terrific image gallery framework, Galleria. The library lets you put Facebook album photos on your website using the Graph API. Galleria has great support for responsive photo gallery layouts.

Facebook loves to change their Graph API without warning (and sometimes defying logic), and we needed to make a small tweak to the syntax for changing the default limit of 25 photos on a album to:

var url = 'http://graph.facebook.com/' + params['album_id'] + '?callback=?' + '&fields=photos.limit(' + this.options.max + '){images,source,picture,link,name}';

Enjoy the plugin, and take part in the discussion on the aiaio github.

Put Facebook photos on my website