title: Can't tweet to Twitter using Api Twitter 1.1 in PHP
body: <p>I send http-post to tweet to Twitter by <a href="https://api.twitter.com/1.1/statuses/update.json" rel="nofollow">https://api.twitter.com/1.1/statuses/update.json</a> api
  But the response show an error:</p>
  
  <pre><code>array(1) { ["errors"]=&gt; array(1) { [0]=&gt; array(2)
  
  
  { ["message"]=&gt; string(23) "Bad Authentication data" ["code"]=&gt; int(215) } } } 
  </code></pre>
  
  <p>How to fix and can tweet to Twitter using the API? Thanks so much. </p>
  
  <p>Note: I don't want to use 3rd library, just API Twitter Api to do that.</p>