title: Twitter API always return false
body: <p>I tried to post tweets using this <a href="https://github.com/J7mbo/twitter-api-php" rel="nofollow">opensource API</a>. I have created Twitter App and received all needed keys (4 keys). So I don't understand why my script is wrong.</p>
  
  <pre><code>ini_set('display_errors', 1);
  require_once("libs/twitter/TwitterAPIExchange.php");
  
  /** Set access tokens here - see: https://dev.twitter.com/apps/ **/
  $settings = array(
      'oauth_access_token' =&gt; "...",
      'oauth_access_token_secret' =&gt; "...",
      'consumer_key' =&gt; "...",
      'consumer_secret' =&gt; "..."
  );
  
  $url = "https://api.twitter.com/1.1/statuses/update.json";
  $requestMethod = 'POST';
  
  /** POST fields required by the URL above. See relevant docs as above **/
  $postfields = array(
      'status' =&gt; 'Hi, I am new status from Social Poster!'
  );
  
  /** Perform a POST request and echo the response **/
  $twitter = new TwitterAPIExchange($settings);
  $result = $twitter-&gt;buildOauth($url, $requestMethod)
               -&gt;setPostfields($postfields)
               -&gt;performRequest();
  var_dump($result);
  </code></pre>
  
  <p><code>var_dump</code> shows <em>false</em>.</p>