Time out problems with Facebook API

Discussion in 'PHP' started by JackDuluoz, Apr 27, 2010.

  1. #1
    Hi all,
    I've just finished creating my first facebook app, and I was ready to release it when I noticed a really annoying problem: each api call requires an extraordinary long amount of time to be executed, like 10 seconds (calculated using microtime()), so if there is more than 1 call in the same file the script does not respond in time and I get an error like:

    Now I don't know what this could be related to... my server is pretty fast and I assume it is not a facebook problem: could it be a configuration problem of my server?? I'm really freaking out, since the facebook developers forum is now working correctly and I have nowhere to ask for help..
    My app is not iFrame bur FBML... hope somebody can help me.
    Thanks
     
    JackDuluoz, Apr 27, 2010 IP
  2. webria

    webria Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This issues may come up , if you call refresh_image or refresh_url method on every page load.
    If by some way , you will avoid these calls, you may get improvement in page load, than as it looks now. It is always good to avoid extra calls other than requires_login() method.
     
    webria, Apr 29, 2010 IP