Search This Blog

Wednesday, April 25, 2012

name lookup timed out for https://graph.facebook.com

This problem has two solutions:
  1.  In the base_facebook.php, you will find api-read.facebook.com.Try to ping it through command line. If it does not respond change it to api.facebook.com in base_facebook.php.
  2. If the above didn't work, revert it back and change CURLOPT_CONNECTTIMEOUT => 10 to CURLOPT_CONNECTTIMEOUT => 60

Hope  this works!

Source : http://stackoverflow.com/questions/5114597/how-to-solve-problem-of-curlexception-6-name-lookup-time-out-error-in-facebook