desmondmorris / node-twitter

Client library for the Twitter REST and Streaming API's.
https://www.npmjs.com/package/twitter
MIT License
1.27k stars 237 forks source link

how to put the text in retweet? #285

Closed danielaraujorn closed 5 years ago

danielaraujorn commented 6 years ago

the param status is not working

peterpme commented 6 years ago

@danielaraujorn see https://github.com/Preposterous/twitter-lite and open an issue there if you're having trouble. Folks will help :)

oceanbyte-deprecated commented 5 years ago

You can use the attachment_url for that purpose (though this will not increase the retweet counter):

// url looks like this: https://twitter.com/username/status/903615884664725505
client.post('statuses/update', {status: msg, attachment_url: url},  function(error, tweet, response) {});