I’m using the CodeBird PHP SDK if that’s relevant but I keep getting 131 on trying to update my profile background image via the API.
Here’s the relevant code:
$background = "/path/to/file.jpg";
$background_info = getimagesize($background);
if(file_exists($banner))
{
$response = $cb->account_updateProfileBackgroundImage(array(
'use' => "1",
'image' => "@{$background};type={$background_info['mime']};filename={$background}",
'tile' => "1",
'include_entities' => "false",
'skip_status' => "1"
));
}