Performance Tuning in Using the Graph API

Have you tried migrating the "My friends" page? If you have done that, you would probably notice 2 issues:

As far as I know, there are reported cases saying that there is a significant slowness with the new APIs when used with Facebook’s latest PHP SDK. So, this is not just my or your problem!

Having said that, while Facebook is working to improve the performance of the new APIs, there are still things that we can do:

 

As an exercise, you can also amend the code so that only the ID is to to be returned in when we fetched the "me" object in testing the validity of the session.

With these enhancements, I have never seen the error "The URL xxxxxx did not response" again.