title: Twitter OAuth failing to work (PHP)
body: <p>I have the TwitterOAuth class and demonstration running on a local development server and I cannot get it to authorize. I have entered the new CONSUMER_KEY and CONSUMER_SECRET in the config.php. I have also synced the server time to NTP. I get the error message: 'Could not connect to Twitter. Refresh the page or try again later.'</p>
  
  <pre><code>var_dump($connection-&gt;http_code);
  </code></pre>
  
  <p>results:</p>
  
  <pre><code>int 0
  </code></pre>
  
  <p>ANY help or advise would be appreciated.</p>
  
  <p>I am running PHP 5.3</p>
  
  <p>When I try to ping the api server I can't.</p>
  
  <pre><code>C:\Users\Owner&gt;ping api.twitter.com
  Ping request could not find host api.twitter.com. Please check the name and try
  again.
  </code></pre>
  
  <p>could this be the problem ?</p>