I m creating FB application using new graph api(iframe). Application works fine but when I call api method it throws exception. Say call to
$permissions = $facebook->api("/me/permissions");
OR
$fbme = $facebook->api('/me');
always fails and throws "Name lookup timeout" exception. So I browse for this problem and found one solution that is changing facebook.php file in that set CURLOPT_CONNECTTIMEOUT from default 10 to higher value. But this solution doesn't work for me and I m getting same problem. Why this is happening. Is there any solution for this problem or any alternate method for api() on serverside.
Thanks in advance..