Facebook graph extremely slow in PHP
===

Whether using the Facebook PHP SDK, or just loading data using curl with `$contents = file_get_contents("https://graph.facebook.com/$id?access_token=$accessToken")`, it takes around a whole second for the response to come.

That counts as very slow when I need to check the data for a bunch of ids.

When in a browser, if I type in a facebook graph url, I get the results almost instantly, under a tenth of the time it takes in PHP.

What is causing this problem, and how can I make it as fast as it would be in any browser? I know the browser can do it. There has to be a way to make it fast in PHP too.