a Full-Stack web developer using asp.net. C#, js, win forms
Today, I want to show you how to put a "Send us a private message" button in a tweet. Something like this:
First of all, you should find your Twitter ID. You can get your ID from many websites. I found a website called "TweeterID". Click here to open it.
You should give your Twitter handle to it and it will convert your Twitter handle to Twitter ID!
If this website isn't available, you can simply search "Find Twitter ID" and find another website. When you got your ID, copy it!
Okay, now you should compose a new tweet. In your tweet, you can write anything. After that, you should paste this link into your tweet! (This link is that button).
https://twitter.com/messages/compose?text=[Your Message]&recipient_id=[Your Twitter ID]
You should assign a message to "text". When people click on this button, this message will appear in the textbox!
You should also assign your Twitter ID to "recipient_id".
Finished! You can tweet it. It will convert to a button automatically!
I hope you liked this! Don't forget to like this article. If you liked it, please share it in a tweet and mention me too! My name is Nima Owji. I am a 14-year-old programmer. Thanks.
Special thanks to Chris Messina!
Create your free account to unlock your custom reading experience.