Facebook API Timeout

Grrr. Well I spent more time on my Facebook App last night and it turns out the Facebook timeout and slow REST calls really make my application useless. If Facebook doesn’t receive a response from your server under 7 secs it’ll spit out an error saying the application has a few kinks. 7 secs is actually generally longer than any website should take to respond but the problem is spawned from the Facebook API itself. The main problem is the slow Facebook REST calls that take a long time to respond if you call a few of them at once.

I’m trying to think of a way to do it with AJAX so the server responds immediately and then the REST calls are called through a web service. I’m not sure how it’s all going to work yet but I foresee a problem with passing the session. If anyone has done this or can point me in the direction of a tutorial it’d be greatly appreciated.

Leave a Reply

Login