Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author afzal_du

    (@afzal_du)

    Hi,
    It’s not a limitation. Something is going wrong!
    I think facebook connectivity problem with your server.
    Try increasing the sync time. Too much syncing (small sync time) may cause problem (although facebook didn’t mention any api call limit I guess there is one)

    Thread Starter mrjoee

    (@mrjoee)

    Thanks for the quick reply. I had a read through some of the other support issues and already increased the sync time to 1440 minutes three days ago and this hasn’t solved the issue. I also changed the fb remote data function two days ago as per another of your support tickets (see bottom of post) and this also didn’t solve the problem.

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    I ran your debug script and received the following:

    "error": {
          "message": "(#4) Application request limit reached",
          "type": "OAuthException",
          "code": 4
       }

    Does the plug-in use an API and is it perhaps being maxed out by other users?

    This is the steps to replace the function I used:

    1. open srizon-fb-album-front.php (or srizon-fb-album-front-pro.php in case of pro version)
    2. locate the last function ‘srz_fb_remote_to_data’
    3. replace that whole function with the following version (assuming you have curl library enabled on your server)

    function srz_fb_remote_to_data($url){
    if(isset($_GET['debugjfb'])){
    echo 'getting remote data from:'.$url;
    }
    
    require_once (dirname(__FILE__) . '/mycurl.php');
    
    $fbcurl = new SrzFBMycurl($url);
    $fbcurl->createCurl();
    $fbcurl->setUserAgent('');
    $fbcurl->setCookiFileLocation('');
    $fbcurl->setReferer('');
    $data = $fbcurl->tostring();
    if(isset($_GET['debugjfb'])){
    echo "\n".'wp_remote_get and curl failed to get the api response. either the pageid or albumid is wrong or your server is blocking all remote connection functions!';
    }
    
    return $data;
    }

    Plugin Author afzal_du

    (@afzal_du)

    Hi,
    On a shared server (using the same ip) others may be using facebook API. I’m not sure what’s the limit but it seems your server is reaching the daily limit before ending the day.
    One way to solve the problem is to move your site to a different server if possible.
    I’ll see if I can find a solution.

    Thread Starter mrjoee

    (@mrjoee)

    Thanks. I actually migrated it over to another host last night and it is still doing the same. Perhaps both servers are reaching it, although having been googling the error, many people believe it could be a facebook bug?

    Plugin Author afzal_du

    (@afzal_du)

    did you try syncing it after migrating?
    However, yes it might be a facebook bug. you may try with other public pages as galleries (for example use sharapova or nadal or cocacola as page id).
    Many people are using this plugin and there’s also a Joomla extension being used for 2 years. Only few people faced this kind of problem.

    Thread Starter mrjoee

    (@mrjoee)

    Yes, I tried with some other popular pages as you suggested but it still doesn’t seem to want to work. I have also tried other plug-ins and they return the same error. I have even set up an app with ID and secret to grant access and it works for users, but not public pages. I do not know why this is happening. It seems to be working just fine on another host so it seems this may be the issue, but laughing squid are usually very reliable when it comes to hosting wordpress.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Album works for a few hours per day, then stops.’ is closed to new replies.