Scenario:-
I am in need to fetch photos from facebook albums. And for this I am using Galleria.
Code-Snippet:-
$(document).ready(function (e) {
alert('jQuery loaded');
loadGallery();
function loadGallery() {
debugger;
Galleria.loadTheme('js/galleria/themes/classic/galleria.classic.min.js');
Galleria.run('#galleria', {
facebook: 'album:123xxxxx',
width: 745,
height: 550,
lightbox: true
});
}
});
<!DOCTYPE HTML/>
<html>
<head>
<title> Test </title>
<script src="jQuery"> </script>
<script src="galleria-1.4.2.min.js"></script>
<script src="js/galleria.facebook.js"></script>
</head>
<div id="galleria"></div>
</html>
Please not I have not mentioned APP_ID or APP_SecretKey in my configuration, as far as I know, when using Galleria, we just need to pass albumID.