OAUTH PECL Twitter API error

Discussion in 'PHP' started by wrekoniz3, Feb 17, 2011.

  1. #1
    i get this error everytime i try to login and connect using my code... what does it mean?


    stdClass Object ( [request] => /1/account/verify_credentials.json?oauth_consumer_key=xxxxxxxxxxxxxxxxxx&oauth_nonce=xxxxxxxxxxxx&oauth_signature=xxxxxxxxxxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1298015805&oauth_token=&oauth_version=1.0 [error] => Could not authenticate you. )


    xxxxxxxxx <--- thats removed information for security.

    but what does this error mean? its driving my crazy i gotta fix it.

    -Dom
     
    wrekoniz3, Feb 17, 2011 IP
  2. R2DS

    R2DS Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    At first glance your missing your oauth_token. Might be missing call to request_token to obtain. Might be your issue.

    stdClass Object ( [request] => /1/account/verify_credentials.json?oauth_consumer_key=xxxxxxxxxxxxxxxxxx&oauth_nonce=xxxxxxxxxxxx&oauth_signature=xxxxxxxxxxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1298015805&oauth_token=&oauth_version=1.0 [error] => Could not authenticate you. )
     
    R2DS, Feb 19, 2011 IP