Problem error in time
Hi I have a little trouble with your code, but I dont know why the Date is wrong and fail to tweet is for the timestamp ? i probe terminal ntpdate -d 216.239.35.0 is ok but in the esp8266 show me a different date for one day 6 - 1 -17 in the esp 7-1-17 for example
I'm from argentina the time zone is 1 ? in your code is 9 I suposse you are from london could you help me please... regards
Ok was the timezone is -3 but the error is the same [DEBUG] do_http_text_post httpCode : -1 you use this post method ? https://dev.twitter.com/oauth/reference/post/oauth2/token
I'm also getting
[DEBUG] do_http_text_post httpCode : -1
when attempting to use this library. I did need to set the timezone to -5 instead of 9 to get a correct time. Were you able to make this work?
I believe part of the problem is this is still using oauth 1.0 instead of 2.0, at least according to the information I'm getting back in the code.
[TWEET] tweet : esp-01 + direct tweet / test 04 [DEBUG] do_http_text_post httpCode : -1 api.twitter.com 443 /1.1/statuses/update.json AB 60 BB B5 F1 B9 A7 7E BE 68 1B BF 35 3F B3 C2 F9 B4 D2 44
OAuth oauth_consumer_key="xxx", oauth_nonce="2007115423", oauth_signature="xxx", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1520552350", oauth_token="xxx", oauth_version="1.0"
I'm getting the same error.
[DEBUG] do_http_text_post httpCode : -1
Did you find a way to solve it?
I don't think it's solvable as-is, as the library appears to be using Oauth 1.0. The creator or someone with more knowledge than myself will need to update it.
I was able to get this library to properly tweet: https://github.com/debsahu/TwitterWebAPI
Thank you! That library works perfectly
You're very welcome.