Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js Twitter library that supports update_with_media

None of the libraries I have tried support update_with_media for posting images:

  • twit
  • node-twitter-api
  • node-twitter

All of these libraries claim to implement this functionality, which is very worrying.

If anyone is currently running software that is doing this, please reply. I am not interested in URL's linking to software that claims to support this feature.

like image 747
user103935 Avatar asked Dec 04 '25 13:12

user103935


2 Answers

I was searching for same thing for a while with little success. So I decided to make my own which turned out to be short and sweet:

https://gist.github.com/adaline/7363853

All the instructions are in the gist :)

like image 105
Val Avatar answered Dec 07 '25 13:12

Val


I modified @Val's gist to support files from remote url's (i.e. s3) rather than reading it from a file. Thought I'd share in case it's useful to others. https://gist.github.com/travischoma/9279105

like image 34
Travis Choma Avatar answered Dec 07 '25 14:12

Travis Choma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!