Hi,
Please help me to tweet with image
require_once('twitteroauth.php');
// create new instance
$tweet = new TwitterOAuth($consumerKey, $consumerSecret, $oAuthToken, $oAuthSecret);
// Your Message
$message = "message";
$image = "d.jpg";
// Send tweet
$response = $tweet->post('https://api.twitter.com/1.1/statuses/update_with_media.json', array('status' => "$message",'media[]' => "@{$image};type=image/jpeg;filename={$image}"));