![Picture of developer Picture of developer](/graphics/unknown.gif)
developer - 2014-10-01 15:05:44
Twitter how to Post Image example $client->CallAPI(
"https://api.twitter.com/1.1/statuses/update_with_media.json",
'POST', array(
'status'=>'This is a test tweet to evaluate the PHP OAuth API support to upload image files sent at '.strftime("%Y-%m-%d %H:%M:%S"),
'media[]'=>'php-oauth.png'
),array(
'FailOnAccessError'=>true,
'Files'=>array(
'media[]'=>array( 'ContentType'=>'image/png',
)
)
), $user);