title: php twitter post image not going - working
body: <p>I'm trying to send a status with an image on Twitter. The status gets posted succesfully, but the image does not show up. Why is this?</p>
  
  <p>Are there any mistakes in my code? The status does update successfully.</p>
  
  <pre><code>require_once 'twitteroauth.php';
  
  
  $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_SECRET);
  $content = $connection-&gt;get('account/verify_credentials');
  $image = 'logo.png';
  $connection-&gt;post('statuses/update', 
      array(
          'media[]'  =&gt; "@{$image};type=image/jpeg;filename={$image}",
          'status'   =&gt; 'message text written here',
      ),
      true, // use auth
      true  // multipart
  ); 
  </code></pre>