Any idea how one would update a user’s Twitter status with an image – using the Twitter-Async class?
This is what I have
$twitter = new Twitter(CONSUMER_KEY, CONSUMER_SECRET,$_SESSION['oauth_token'],$_SESSION['oauth_token_secret']);
$array = array('media[]' => '@/img/1.jpg','status' => $status);
$twitter->post('/statuses/update_with_media.json', $array);
With thanks to @billythekid, I have managed to do this. This is what you need to do:
Look these functions up in the EpiOAuth file and see what I’ve added and alter it where necessary.
EpiOAuth.php
Post image