Facebook Page Albums

jQuery Plugin

jQuery plugin untuk menampilkan album foto yang ada di halaman fans page facebook sobat ke website.

Pemakaian:

<!-- CSS -->
<link type="text/css" rel="stylesheet" href="src/fbfpalbums.css" />
<link type="text/css" rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css"/>

<!-- HTML -->
<div id="anu"></div>

<!-- jQuery -->
<script type="text/javascript" src="//code.jquery.com/jquery-2.2.1.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script>
<script type="text/javascript" src="src/fbfpalbums.js"></script>
<script>
$(document).ready(function(){

    // Setting fbfpalbums
    $("#anu").fbfpalbums({
        fp: "MemeComicIndonesi", // your username or id facebook fans page
        token: "accessToken" // your facebook accessToken
    });

    // Setting fancybox
    $(".fbfpalbums .popup").fancybox({   
        openEffect : 'fade',
        closeEffect : 'fade'
    });

});
</script>

keyboard_arrow_up