Hello everyone,
I use Jaisen Mathai’s Codebird Twitter library.
I can update the status with an image with the beloew code.
How can I update with multiple picture?
require_once ('src/codebird.php');
$posting = \Codebird\Codebird::getInstance();
$posting->setConsumerKey($account['ApiKey'], $account['ApiSecret']);
$posting->setToken($account['TKey'], $account['TSecret']);
$photoProc = $posting->statuses_updateWithMedia(
array(
'status' => $msg,
'media[]' => $filename
)
);