I have been working on a facebook application which uses facebook graph API for authentication, recently facebook upgraded to IPv6 and my network does\'nt support IPv6 so al
Check you curl version
CURLOPT_IPRESOLVE is available since curl 7.10.8
Try this sample code to test
FYI: http://gcov.php.net/PHP_5_3/lcov_html/curl/interface.c.gcov.php