Support » Plugin: OmniGallery by Colorlabs & Company » Facebook Session Expiration

  • On my wesbite after about 36-48 hours my gallery stops working and I get the following message:

    Fatal error: Uncaught exception ‘FacebookRestClientException’ with message ‘Session has expired at unix time 1367121600. The current unix time is 1367327809.’ in /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/facebook-platform/facebookapi_php5_restlib.php:3065 Stack trace: #0 /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/facebook-platform/facebookapi_php5_restlib.php(1640): FacebookRestClient->call_method(‘…’, Array) #1 /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/scfacebook.class.php(363): FacebookRestClient->photos_getAlbums(NULL, ‘100000870222172…’) #2 /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/scfacebook.class.php(275): sc_facebook_fetch_album_content(‘100000870222172…’, Array) #3 /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/omnigallery.class.php(261): SCFacebook->get_gallery_images(Array) #4 [internal function]: OmniGallery->modify_gallery(”, Array) #5 /homepages/ in /homepages/40/d323358301/htdocs/wp-content/plugins/omnigallery/includes/facebook-platform/facebookapi_php5_restlib.php on line 3065

Viewing 6 replies - 1 through 6 (of 6 total)
  • My plugin show error:

    An error occurred while linking with Facebook: Failed to get a session secret.

    Plugin Author Colorlabs



    Thank you for your feedback.
    Yes we are still trying to solve this and try to work on it.


    I can’t connect plugin to facebook at all.
    After pressing ‘Connect to Facebook’ button, it opens my facebook page in new window without requesting the permission for any app. After I close the window and press ‘Save the session’ nothing changes.
    Did this many times, I don’t understand why it doesn’t work…

    HI Sheleviy,

    to use the facebook gallery on omni gallery, make sure if you are not logged in to Facebook.

    If you do, log out first and try to set the facebook session on omni gallery. (if this trick won’t make it, clear your browser cookies)

    Clear cookies will do the trick if you use chrome… I was unable to connect in Facebook with the latest version of firefox and iceweasel (tested like 20 times in Debian7 and windows7)

    Hi 3pepe3,

    If you have a software like CCleaner, it will help you to clear the cookies, sessions and cache

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Facebook Session Expiration’ is closed to new replies.