title: (Development) PHP Twitter API Library
body: <p>I'm working on the development of a <em>Twitter Oauth API</em>. The project that is under development is available below.</p>
  
  <p>I have encountered a problem and have trouble resolving it. The issue is; Twitter API functions such as status', friendship requests which I send out using the POST function do work.</p>
  
  <p>Though, when int type data is Included, I get the following</p>
  
  <p><strong>error code: 32 message: "Could not authenticate you."</strong></p>
  
  <p>I get this when I include the <strong>statuses/update</strong> function with the <strong><em>in_reply_to_status_id</em></strong> function or with functions like <strong>favorites/create, favorites/destroy, statuses/retweet, statuses/unretweet</strong> which require int type data (<strong>ID</strong>).</p>
  
  <p><strong>Index.php Code: (My App Consumer Keys Placed)</strong></p>
  
  <pre><code>&lt;?php
      session_start();
      include("TwitterClass.php");
  
      $twitter = new Twitter('srFixTitKV8f9WmJwF6VehhSF', 'GqSR29NQ0RoDBQ8gywQrsLV3vXowgFsSIMmueVQPm7E4ALAkNH');
      $status = $twitter-&gt;post('statuses/update', ['status' =&gt; 'Test2!', 'in_reply_to_status_id' =&gt; '1057346977753636864'], true);
      if ($status) {
          echo 'Success!';
      }
  ?&gt;
  </code></pre>
  
  <p>The GitHub page for the project under development is available through the link below. Thank you for your help.</p>
  
  <p><a href="https://github.com/sercanarga/TwitterOauthApi/blob/master/TwitterClass.php" rel="nofollow noreferrer">Project Github Page (TwitterClass.php source code)</a></p>