-1

How do I generate an URL that will automatically open the "tweet your reply" compose window?

Instead of actually making a person click the reply button, it'll just auto-open the compose box for a specific tweet.

Normally, I can just right click copy link, but when I'm on twitter, there is no copy link option when I right click because it's a <button> and not an <a> I guess... and when I left click the speech bubble reply icon the url bar says https://twitter.com/compose/tweet but I was hoping to specifically find a "compose tweet reply" link to generate. In a perfect world I thought I would just be able to visit https://twitter.com/compose/tweet/1490808598242512898 but that doesn't work.

I was able to scrape some "specific" urls but nothing that "replies". Any ideas?

no copy link option

Uncle Iroh
  • 137
  • 1
  • 12

1 Answers1

3

I was able to find answer thanks to another post I found on stackoverflow:

  • https://twitter.com/intent/tweet?in_reply_to=TWEET_NUMBER

and just replace / swap TWEET_NUMBER

Uncle Iroh
  • 137
  • 1
  • 12
  • It seems from https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview that you have to include the Twitter for Websites JavaScript library to get this to work these days. – rjp Apr 28 '23 at 07:47