title: $facebook->api() always fails and throws name lookup timeout exception
body: <p>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 </p>
  
  <pre><code>$permissions = $facebook-&gt;api("/me/permissions");
  OR
  $fbme     =   $facebook-&gt;api('/me');
  </code></pre>
  
  <p>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. </p>
  
  <p>Thanks in advance..</p>