Hi, I'm trying to set the background image of my account with PHP and a command line CURL string. Here's the code:
$img = $_SERVER['DOCUMENT_ROOT'] . '/images/somefile.jpg'; $str = sprintf('curl -A \'%s\' -u %s:%s -d image="@%s" http://twitter.com/account/update_profile_background_image.json', $user_agent, $username, $password, $img); exec($str, $fb); print_r($fb); Currently this shows me an error page with "Something is technically wrong." Is Twitter having upload issues, or is it my code?