Yii 1.1: fb-fanpage-gallery-or-album

Get Album and Photos from Facebook Fanpage
7 followers

Get Album and Photos from Facebook Fanpage using simple javascript

Note: only works on Fanpage. ordinary users requires an authentication

Requirements

Yii 1.1 or above

Usage

extract the files under your extensions folder

<?php
$this->widget('ext.jquery-fbalbum.JqueryFbAlbum',array(
    'pageId'=>'snapshop.ph', // The Id of the Facebook page. Can be the Id or the username
    'exclude'=>array(), // Ids of the albums you don't want to display. e.g. array('352683711441378','196199743756443')
    'enableFBScript'=>true, // default to true
    'fbLanguage'=>'en_EN',
    'options'=>array(
 
    ), // see more javascript options at https://github.com/tilldreier/jquery-fbalbum
));
?>

Resources

...external resources for this extension...

Total 1 comment

#17083 report it
Daniel at 2014/04/30 05:10pm
Display one album full photos

Hi,

First of all, great extensions. I was wondering how could I display all photos of one album? My situation is that I have several albums in my fb page. In my website, I have 10 categories and each category related to one album in the fb page. I think I will put 10 of your extension widget on the page and on each widget exclude the other 9 categories. Hence, only one related album is displayed per category. However, I want all photos in each category to be displayed. not just the folder. Any help? thanks in advance.

Leave a comment

Please to leave your comment.

Create extension