(I thought I had succesfully posted a few minutes ago, but can't find
my post)

Same problem here. Getting http status 417 when trying to update a
status - with a script that worked fine for the last weeks (about 5-10
posts a day).

$ch = curl_init();
        curl_setopt($ch, CURLOPT_HTTPAUTH,CURLAUTH_BASIC);
        curl_setopt($ch, CURLOPT_USERPWD,"user:password");
        curl_setopt($ch, CURLOPT_URL, $url);
        $post=array("status"=>$t);
        curl_setopt($ch, CURLOPT_POSTFIELDS,$post);
        curl_setopt($ch, CURLOPT_HEADER, false);
        curl_setopt($ch, CURLOPT_POST,true);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_VERBOSE,true);
        curl_setopt($ch, CURLOPT_HTTP_VERSION,
CURL_HTTP_VERSION_1_1);
        $result=trim(curl_exec($ch));
        $info=curl_getinfo($ch);
        $statuscode=curl_getinfo($ch,CURLINFO_HTTP_CODE);
        curl_close($ch);

Reply via email to