Twitter button to reply to a tweet

I'm looking for a way to create a Twitter button that will automatically send a response to an existing tweet, without an API.

When you click on the button, a popup window opens with a Twitter status form. Tweeting from the window will create a response to which tweet_id will respond in its metadata.

Any help was appreciated.

+4
source share
1 answer

Use Twitter Web Intents for this. You can set the intent of the tweet to accept the in_reply_to parameter, which indicates the tweets that it responds to. It's as simple as creating an HREF pointing to https://twitter.com/intent/tweet?in_reply_to=12345

If you enable Javascript on Twitter, HREF will automatically pop up and you can track events.

+5
source

Source: https://habr.com/ru/post/1384750/


All Articles