7

Twitter has recently implemented an automatic way of quoting tweets. It basically extracts an url from a tweet and shows it embedded within your tweet.

My problem is: how do I 'retweet with a comment' without showing the original tweet URL via API?

Retweeting from the website makes the RT look like this enter image description here.

But when I'm manually prepending a tweet url to my tweet, it looks like this enter image description here.

notice the literal url.

0

your tweet has a quoted_status, just put the tweet url as attachment_url args, e.g.

client.update('cool', attachment_url: 'https://twitter.com/emorima/status/1061581991798169600')

it's ruby code with twitter gem

5

My understanding is that you are achieving the closest solution that Twitter API offers. This thread talks about doing the following:

  1. do a status update, with the 'status' field containing the text of the original tweet, followed by the link to the original tweet. The 'in_reply_to_status_id' field should not be set. This action does not result in the "retweet count" being increased.
  2. do a retweet, which will increase the retweet count.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.