Open SSXCode opened 10 years ago
hey I'm currently using ofxTwitter to post with no problems. I'm using Pelayo's repo: https://github.com/pelayomendez/ofxTwitter
I'm not sure what is the problem you experience, but all I can say is that it works well there, and it is using this addon for the authentication.
Could this be a Windows related problem?
I am having the same error. Any hints?
Hmm ... sorry. ARe you getting any errors that you could post?
Hi! thanks for the quick reply! here is what I get into the terminal. I suspect it is something that has to deal with the callback URL. I looked it up on some thread but I am not sure I've got the sense of it. Maybe you come up with some hint.
Cheers!
[verbose] ofxOAuth::post: ------------------- [verbose] ofxOAuth::post: consumerKey >MkbwZ5Uu0Sil1eJwlfAXqu2cB< [verbose] ofxOAuth::post: consumerSecret >7WPt3Afx3D4O5N4adPwWpYzTkTCOcgkOygJ1Sz8mBFR35y7esd< [verbose] ofxOAuth::post: requestToken >< [verbose] ofxOAuth::post: requestTokenVerifier >< [verbose] ofxOAuth::post: requestTokenSecret >< [verbose] ofxOAuth::post: accessToken >50583696-zAZXUAunGx6wdu8jUNDjHh2i9oOG8mgBfTWSaMTZo< [verbose] ofxOAuth::post: accessTokenSecret >U0OtDP41FdFNJQiE8vliPPtoDsw9YUnQK5CNqaS4x5DFy< [verbose] ofxOAuth::post: ------------------- [verbose] ofxOAuth::post: : 0:https://api.twitter.com/1.1/statuses/update.json [verbose] ofxOAuth::post: : 1:oauth_consumer_key=MkbwZ5Uu0Sil1eJwlfAXqu2cB [verbose] ofxOAuth::post: : 2:oauth_nonce=9zMsGkcnV3iUIg8e0GNoOw [verbose] ofxOAuth::post: : 3:oauth_signature_method=HMAC-SHA1 [verbose] ofxOAuth::post: : 4:oauth_timestamp=1421958260 [verbose] ofxOAuth::post: : 5:oauth_token=50583696-zAZXUAunGx6wdu8jUNDjHh2i9oOG8mgBfTWSaMTZo [verbose] ofxOAuth::post: : 6:oauth_version=1.0 [verbose] ofxOAuth::post: : 7:status=Hi from OF! [verbose] ofxOAuth::post: : 8:oauth_signature=exbLR8EgRJhBZFEI13BwZQ4R9lM= [verbose] ofxOAuth::post: request URL >https://api.twitter.com/1.1/statuses/update.json< [verbose] ofxOAuth::post: request HEADER >oauth_consumer_key=MkbwZ5Uu0Sil1eJwlfAXqu2cB, oauth_nonce=9zMsGkcnV3iUIg8e0GNoOw, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1421958260, oauth_token=50583696-zAZXUAunGx6wdu8jUNDjHh2i9oOG8mgBfTWSaMTZo, oauth_version=1.0, oauth_signature=exbLR8EgRJhBZFEI13BwZQ4R9lM%3D< [verbose] ofxOAuth::post: http HEADER >Authorization: OAuth oauth_consumer_key=MkbwZ5Uu0Sil1eJwlfAXqu2cB, oauth_nonce=9zMsGkcnV3iUIg8e0GNoOw, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1421958260, oauth_token=50583696-zAZXUAunGx6wdu8jUNDjHh2i9oOG8mgBfTWSaMTZo, oauth_version=1.0, oauth_signature=exbLR8EgRJhBZFEI13BwZQ4R9lM%3D< [verbose] ofxOAuth::post: HTTP post request failed. [notice ] testApp::keyPressed:
I checked with this old branch: https://github.com/pelayomendez/ofxOAuth/tree/feature-postmultipart/formdata
And it works but ofxTwitter is not working working with latest version of ofxOauth.
Making curl talk a bit with latest version of ofxOauth I found this. I don´t really know where to look in ofxOauth for fixing an SSL Certificate problem.
I'm trying to make a post to twitter with the addon ofxtwitter and validation of keys and tokens is successful but when I post it generates the following error: [verbose] ofxOAuth::post: HTTP post request failed.
anyone can guide me? thanks