Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twitter upload image does not works #91

Open
vickyagrl opened this issue Sep 9, 2016 · 2 comments
Open

twitter upload image does not works #91

vickyagrl opened this issue Sep 9, 2016 · 2 comments

Comments

@vickyagrl
Copy link

Getting error while upload image with status in twitter.

org.brickred.socialauth.exception.SocialAuthException: java.net.ConnectException: Connection timed out: connect
at org.brickred.socialauth.util.HttpUtil.doHttpRequest(HttpUtil.java:337)
at org.brickred.socialauth.util.OAuthConsumer.uploadImage(OAuthConsumer.java:634)
at org.brickred.socialauth.oauthstrategy.OAuth1.uploadImage(OAuth1.java:203)
at org.brickred.socialauth.provider.TwitterImpl.uploadImage(TwitterImpl.java:511)

@tokajac
Copy link

tokajac commented Sep 13, 2016

Hello,
works here, once manager object is properly initialized and connected on callback, pseudocode:
provider.uploadImage( statusMsg, imageName, new java.io.FileInputStream( imagePathOnServer ) )
Does updateStatus() works?
Might check twitter app settings in back-office and/or local firewall permissions
Regards

@vickyagrl
Copy link
Author

vickyagrl commented Dec 18, 2016

update status and upload image both works but only for single image upload. it does not support multiple file uploads. Is there any plan to add new upload api which allows multiple file uploads for single tweet message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants