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...
User Contributed Notes 1
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
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.