title: api call in facebook is not working
body: <p>Hi I m trying to create application in facebook but I m getting error as api call in facebook is not working properly. I m using following code:</p>
  
  <pre><code>    try {
          $uid      =   $facebook-&gt;getUser();
          $fbme     =   $facebook-&gt;api('/me');
      } catch (FacebookApiException $e) {
          echo "uid: $uid&lt;br&gt;";
          var_dump($fbme);
          echo $e;
      }
  </code></pre>
  
  <p>In this I get uid but $fbme is NULL. The error returned is CurlException: 6: name lookup timed out.
  Why this is happening??
  Pls help me.</p>