Facebook Page Photo Gallery

Facebook has suddenly limited how you can get your albums from the graph API, if your albums suddenly stops showing then it means it needs needs access token to retrieve. The only way forward is to purchase the Facebook Walleria which was built to get albums that require an access token
Facebook Walleria which is pro version of Facebook Page Photo Gallery is now available for purchase Here

== Description ==

This Plugin fetches a Facebook Page Photo Album as a JSON object and uses Fancybox  and PrettyPhoto to render the gallery in wordpress
It is specifically for public photos particularly those belonging to a Facebook Page. You do not need special
permissions, just the album ID and boom!

Version 2.0 was completely rewritten and makes use of wordpress’s shortcodes.

= How to use =

  • In your post just add the following [fbphotos id=x] where x is the album ID
  • To specify number of photos to show use [fbphotos id=x limit=y] where y is the number to be shown
  • You can choose 3 different sizes for  small, medium and large for thumbnails  [fbphotos id=x limit=y size=small]
  • To use in your template pages in theme development you can call the following function


= Requirements =

  •  Facebook Page Photo Gallery requires PHP > 5.2!
  • jQuery 1.4.4 and higher
  • WordPress 3.2 or higher

= Settings =
You can customise the gallery WP Admin Panel » Settings » Facebook Page Photo

= Language =

Facebook Page Photo Gallery is currently available in English

== Installation ==

1. Unzip the plugin and Upload the directory ‘facebook-page-photo-gallery’ to ‘/wp-content/plugins/’ on your site

2. Activate the plugin through the ‘Plugins’ menu in WordPress

3. That’s all for it to work! You can customise the settings though under WP Admin Panel » Settings » Facebook Page Photo

== Frequently Asked Questions ==

= My albums are not updating =

In your settings you set a cache time, so it will take some minutes for the changes to reflect. The longer the cache time the longer it takes for changes to reflect.

Caching however increases site speed as you dont have to poll Facebook servers everytime a visitor hits your page

= How do I get an album ID =
The album id is the number on the facebook after a. up to the next dot. Copy that number and place it between the braces.

* For example, http://www.facebook.com/media/set/?set=a.209112642458743.46995.123369051033103 the ID is 209112642458743

= Does FPPG 2.0 support the shortcode used in previous versions i.e FB-Album[] =
No. It now uses WordPress shortcode [fbphotos]


== Changelog ==

= 2.0.7 =
* Fixed paging bug
* Fixed size bug
= 2.0.6 =
* Rewritten to adapt to new Facebook features
* Added 3 sizes of thumbnails
* Added PrettyPhoto gallery
= 2.0.5 =
* Minor fixes to Gallery
= 2.0.4 =
* Minor fixes to
= 2.0.3 =
* Fixed the thumbnail issue
* Changed the lightbox to a more custom version
= 2.0.2 =
* Fixed a bug affecting SSL thanx to Josh

= 2.0.1 =
* Fixed a bug that limited photos to 25

= 2.0 =
* Completely rewritten- its faster!
* Implemented WordPress shortcodes
* Deprecated use of regular expressions
* Added random showcasing
* Deprecated previous shortcode (FB-Album[]) in favor of [fbphotos]
* Moved CSS from main file to allow easy user customisation
* General code clean-up

= 1.0.3 =
* Added an option to select the number of photos to show a specified number of photos. This is especially handy for huge albums. All you need is FB-Album[album-id, number] eg to show 10 photos
* Fixed a brocken link to facebook.
* Fixed possible function conflict with other plugins
* Fixed possible option conflict

= 1.0.2 =
* fixed potential conflict with other plugins that use JSON like tweetblender

= 1.0.1 =
* fixed wrongly fetched thumbnails from older Facebook albums
* general code cleaning
= 1.0 =

* first public release

A beer will do!


  1. شركة تنظيف منازل
    Apr 11, 2014 @ 16:09:48

    Hi there! I understand this is sott of off-topic however I needed
    to ask. Does running a well-established website sucfh
    as ours require a massive amount work? I’m brand new to writing a blog but I
    do write in my diary on a daily basis. I’d like to start a blog so I will be able to
    share my experience and feelings online. Please let me know if you
    have any ideas or tips ffor brand new aspiring blog owners.
    Appreciate it!


  2. David
    Apr 17, 2014 @ 20:06:03

    Do you have a functionality to post 1 specific photo of choice to a post?


  3. Aline
    Oct 31, 2012 @ 17:39:29

    Hi, I see your website and your gallery is perfect, I installed the plugin and put the short code but the gallery don’t open the image full.

    My web site test is: http://alinesantarita.net46.net

    I’ll thank so much, if you help me.

    Best regards!


  4. freeman
    Jan 20, 2013 @ 17:06:42

    Upgrading to 2.0.7: Deactivate plugin and reactivate after installing to save new settings.


  5. Rino
    Jan 28, 2013 @ 22:25:53


    i have installed the plugin but not work..

    on the page i see the shortcode


    any help please


  6. Vegard
    Feb 06, 2013 @ 19:43:11

    You have to use the shortcode: [fbphotos id=your album id goes here]


  7. Vegard
    Feb 06, 2013 @ 19:46:26

    Hi, my cache is set to “1″. But my WP page does not seem to update. Waited about 20 minutes now. Tried clearing my browser cache, with no luck. Any suggestions?


  8. Morgan
    Feb 20, 2013 @ 21:54:35

    Same problem here. Hasn’t been updating for a few weeks now.


Leave a Reply