paint-brush
How to Put a "Send us a Private Message" Button in a Tweetby@nimaowji
4,843 reads
4,843 reads

How to Put a "Send us a Private Message" Button in a Tweet

by Nima OwjiJanuary 2nd, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to Put a "Send us a Private Message" Button in a Tweet? Nima Owji is a 14-year-old programmer and Full-Stack web developer using asp.net C#, js, win forms and forms forms. He shows you how to put a button in a tweet to send a private message to send private messages to friends and family members. You can get your Twitter ID from many websites and get it from "TweeterID" or "Find Twitter ID" Copy the ID and paste this link into your tweet.

People Mentioned

Mention Thumbnail

Company Mentioned

Mention Thumbnail
featured image - How to Put a "Send us a Private Message" Button in a Tweet
Nima Owji HackerNoon profile picture

Today, I want to show you how to put a "Send us a private message" button in a tweet. Something like this:

Let's start!

Finding Twitter ID

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!

Creating the button

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!

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!