Forums

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

  1. brettcave
    Member
    Posted 3 years 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 3 years ago #

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

  3. Indeedle
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic