[plugin fotobook] Can't get albums (41 posts)

  1. Taylor Baybutt
    Posted 5 years ago #

    See where your code says "wpbook_safe"? You're clearly using WPBook so either it is conflicting with Fotobook or you are writing in the wrong thread.

  2. PurrfectFire
    Posted 5 years ago #

    Hey taxbax,

    thanks a bunch. Haven't seen that bit.. or better i have not interpreted it as a hint the other plugin would interfere.

    Deactivated WPbook and i got my pics back.

    Shame that it doesn't work together though...

  3. ryan4021
    Posted 5 years ago #


    I followed the right steps and I get this message when I try to import photos through the backend.

    Fotobook encountered an error while retrieving your photos. [Error #114]

    I replaced line 243 with $uid = fanpageid;
    and in line 809 I removed the instance of if isnumeric like I was told in http://c.hadcoleman.com/2010/01/embed-facebook-fan-page-photo-albums-in-wordpress/

    I'm using the latest version of wordpress and 3.1.8 version of Fotobook, should I upgrade to the latest Fotobook for this to work or maybe something else I'm doing?


  4. ryan4021
    Posted 5 years ago #

    I tried using the latest Fotobook plugin and replacing all instances of $session[uid] to $uid and once I click import photos it stays at 0% and doesn't let me do anything.

  5. ryan4021
    Posted 5 years ago #

    Hey guys, I finally got it working and it is pulling the correct photo albums from the Fan Page. I started fresh , uploaded 3.1.8 Fotobook and reapplied the permissions necessary and it worked finally. I guess maybe a cache issue or something on Facebook's API side but now it works!

  6. jayjayNZ
    Posted 5 years ago #

    Hey Ryan, i should have mentioned deleting your current version in my fix....sorry!

    Here it is in one post, for those who don't want to scroll through the posts:

    1) Delete your current install of Fotobook
    2) Install the latest version
    3) Click this link http://www.facebook.com/connect/prompt_permission.php?api_key=759543efe161e1085f7f6c97791e1eab&next=http://www.facebook.com/connect/login_success.html&cancel=http://www.facebook.com/connect/login_failure.html&display=popup&ext_perm=offline_access,user_photos,user_photo_video_tags to give permission
    4) Configure Fotobook as you normally would (grant access to your account)
    5) Test to make sure it works :)

    If you want to add Facebook Pages instead of your personal photos, follow all the steps above to make sure fotobook works with personal photos first, then:
    1) Visit your Facebook fan page, click on an album so you’re displaying all photos. In the address bar you’ll see a &id=123123123. Copy that ID number.
    2) Open & edit fotobook.php
    3) find

    $uid = $session['uid'];

    and replace with this

    //$uid = $session['uid'];
    $uid = 123123123;

    where 123123123 is the ID number you copied
    4) Replace every instance of




    4) Save changes, and test.

  7. TechAdmin-IMCOnAir
    Posted 5 years ago #

    actually I have one problem as many people here, that my albums are not updated... http://bit.ly/aAYjk4 Its frozen with status of August.

    I have reactivated the "FB login" with Granting permission after deinstallation and complete new installation of the plugin... but still the status seems like frozen...

    What's wrong ? - I get an "error message" of my WP 2.8.6 (all other versions of MySQL etc. are of latest version) as following if I click the "Get the Album" button:

    Fatal error: Uncaught exception \'FB_FacebookRestClientException\' with message \'Session key invalid or no longer valid\' in /.../wp-content/plugins/fotobook/facebook-platform/facebookapi_php5_restlib.php:3003 Stack trace: #0 /.../wp-content/plugins/fotobook/facebook-platform/facebookapi_php5_restlib.php(1608): FB_FacebookRestClient->call_method(\'facebook.photos...\', Array) #1 /.../wp-content/plugins/fotobook/fotobook.php(258): FB_FacebookRestClient->photos_getAlbums(\'1482512238\', NULL) #2 /.../wp-content/plugins/fotobook/fotobook.php(664): FacebookAPI->update_albums() #3 /.../wp-includes/plugin.php(339): fb_ajax_handler(\'\') #4 /.../wp-admin/admin-ajax.php(1352): do_action(\'fb_ajax_handler\', Array) #5 {main} thrown in /.../wp-content/plugins/fotobook/facebook-platform/facebookapi_php5_restlib.php on line 3003

  8. AnHeLLiDo
    Posted 5 years ago #

    I tried to follow that steps but i get error #100

    I have solved that using tha hack by this way:

    $uid = "9999999999999"; //9999999999999 = your id

    thanks to everyone

  9. vielhuber
    Posted 5 years ago #

    Sorry, this plugin is broken.

    Can't even get albums without fanpage hack.

    It shows always "There are no albums."

  10. chavo
    Posted 5 years ago #

    I used the fanpage hack. Weird thing is that it works for me with the id


    but is not working with the id


    Does anyone knows why is this happening?

    Thanks in advance.

    ps: sorry for my english.

  11. chavo
    Posted 5 years ago #

    Solved!!! I didn't notice about the quotes in AnHeLLiDo solution.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fotobook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic