Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jetlib

    (@jetlib)

    So, I’m debugging your script, and the quality of your code is really disappointing.

    What kind of testing do you do before you release? Why do you use undefined constants all over the place which generate notices?

    You are missing some array specifiers in your oauth branching..

    if ($options[statusauthtype] == “oauth”)

    Should be..

    if ($options[statusauthtype][$i] == “oauth”)

    So digging deeper, for the oauth code around line ~670-690, when I dump the $OauthInfo param, it

    object(EpiTwitterJson)#786 (1) {
      ["resp":"EpiTwitterJson":private]=>
      object(EpiCurlManager)#4 (2) {
        ["key":"EpiCurlManager":private]=>
        string(16) "Resource id #127"
        ["epiCurl":"EpiCurlManager":private]=>
        object(EpiCurl)#783 (6) {
          ["mc":"EpiCurl":private]=>
          resource(125) of type (curl_multi)
          ["msgs":"EpiCurl":private]=>
          NULL
          ["running":"EpiCurl":private]=>
          NULL
          ["requests":"EpiCurl":private]=>
          array(2) {
            ["Resource id #126"]=>
            resource(126) of type (curl)
            ["Resource id #127"]=>
            resource(127) of type (curl)
          }
          ["responses":"EpiCurl":private]=>
          array(1) {
            ["Resource id #126"]=>
            array(5) {
              ["data"]=>
    <strong>          string(74) "{"errors":[{"code":53,"message":"Basic authentication is not supported"}]}"</strong>
              ["code"]=>
              int(401)
              ["time"]=>
              float(0.24596)
              ["length"]=>
              float(74)
              ["type"]=>
              string(31) "application/json; charset=utf-8"
            }
          }
          ["properties":"EpiCurl":private]=>
          array(4) {
            ["code"]=>
            int(2097154)
            ["time"]=>
            int(3145731)
            ["length"]=>
            int(3145743)
            ["type"]=>
            int(1048594)
          }
        }
      }
    }

    It gives “errors”:[{“code”:53,”message”:”Basic authentication is not supported”

    Wtf man..is it not even doing oauth?

    Forum: Plugins
    In reply to: Paginate by Day

    I too would like something that does this!

    Thread Starter jetlib

    (@jetlib)

    do you need help? If needed I’ll create a diff for you.

Viewing 3 replies - 1 through 3 (of 3 total)