Forums

[resolved] twitpost & 417 http error (3 posts)

  1. brettcave
    Member
    Posted 6 months ago #

    Some old PHP curl libraries send an HTTP "Expect: 100" header to twitter. This will cause twitter to send back an HTTP 417 error code.

    If your posts are not getting tweeted, then try adding this into the callTwitterAPI function in the API class, just after $curlHanlder is initialised:

    curl_setopt($curlHandler,CURLOPT_HTTPHEADER,array("Expect:"));

    http://wordpress.org/extend/plugins/twitpost/

  2. Indeedle
    Member
    Posted 6 months ago #

    Thanks for the info, will take a look and add it in

  3. Indeedle
    Member
    Posted 6 months ago #

    Ok, added in the code after looking the error up. 0.0.6 should be up soon

Reply

You must log in to post.

About this Topic