Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • Videos
  • Most Popular
  • Top Categories
  • Books
  • About Dave
  • Ask Me
  • > Donate <
  • Home
  • Twitter Help
  • How do I create a Twitter “message me” button?

How do I create a Twitter “message me” button?

August 29, 2016 / Dave Taylor / Twitter Help, Wordpress Help / No Comments

I saw on your Dad blog that you have a “Message @DaveTaylor” button on every page. Very cool. How can I create one just like it?

First off, thanks for checking out my GoFatherhood site! It’s somewhat of a labor of love, writing about raising teens and my adventures when I’m not testing and reviewing consumer electronics, so it’s always good to hear from a reader!

Twitter has had a button builder for a while but it only just added the ability to create a button for your Web page or blog that launches a private or “direct message” contact through your Twitter account. It’s very nice because it’s a private one-to-one communication quite similar to texting, but without them needing to know your cellphone number.

Unfortunately, it’s a bit of a bear to set up, so this is going to be rather a longish tutorial. But you can do it! To start, you’ll want to go to publish.twitter.com. You can click or you can type it in, either way, you’ll end up looking at this very, well, purple screen:

publish.twitter.com button and embed code builder

You can check out all the other options, but for this task, you’ll want to click on “Twitter Buttons” on the right side. You’ll then see quite a few different types of buttons from which to choose:

twitter create tweet message dm button

As you can see, Twitter calls this a “Message Button“, and that’s the one you want to choose. A click and you’re ready to enter some values and generate the embed code.

Sort of.

twitter message button embed code fields

The tricky part is figuring out your Twitter user ID. But we can do that too, just open up another tab in your Web browser and go to your Twitter home page. For me, it’d be http://www.twitter.com/DaveTaylor since I’m @DaveTaylor on Twitter. On that page, you’ll want to choose “Settings” from the menu on the top right:

twitter settings menu

You can see it near the bottom of the list. Now there are two tasks required here. First, let’s make sure you have things configured so that you can get direct messages from people you aren’t already following on Twitter (a necessity for the button to be useful). To do that, look down the list of options on the left side and choose “Security and privacy“:

twitter > settings > security and privacy

The right side of the screen changes to show all of those many, many options. Well worth perusing to ensure that you have everything set up as you desire, but right now just scroll to the bottom and ensure that the following option is checked:

allow direct messages from non-followers setting, twitter

Save the change if you didn’t have it checked, then on the left side look for “Your Twitter data“:

your twitter data user id

This time what you seek is right at the top, your numeric user ID:

your twitter data, signup date, user id

There we go! My Twitter user ID is 973392. I also know my Twitter account name — @DaveTaylor — so I’m ready to add this button to my page. Go back to the other tab where the button builder is patiently waiting for the requisite information and fill ’em in:

twitter message me button form

Now it says “Preview” but in fact, that’s also the “generate code” button, so click on it and you’ll be shown the exact code you need to copy and paste onto your page:

embed code twitter message me button html

It’s easy enough, click on “Copy Code” and find the “raw” or “text” or “html” input for the page you want to embed the button, figure out exactly where you want the code, and paste it. Save, reload the destination page and you’ll have a neat button like I have here:

twitter 'message @davetaylor' button embed tutorial

That’s it. Not monstrously difficult but definite quite a few steps. Want to try out the code? Go to my dad blog and click on the button to send me a direct message on Twitter!

(or you can follow me on Twitter instead. Just visit @DaveTaylor and click ‘follow’)

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!
add direct message button, add twitter button, twitter button, twitter direct message, twitter message

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • How Can I Prevent Remote Access to my Windows PC?
  • The Easy Way to Add Contacts to my New Android Phone?
  • How Can I Hide or Report An Offensive Advert on Facebook?
  • Switch “Paste” & “Paste and Match Style” Keyboard Shortcuts on MacOS?
  • How Can I Easily Create a QR Code For My Web Page?

On Our YouTube Channel

AUKEY Omnia 100W + Minima 20W Power Chargers -- DEMO & REVIEW

Roborock S6 MaxV Robot Vacuum Cleaner -- DEMO & REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon Echo & Kindle Help (79)
  • Amazon, eBay, and Online Shopping Help, (157)
  • Android Help (160)
  • Apple Watch Help (49)
  • Articles, Tutorials, and Reviews (327)
  • Business Advice (192)
  • Computer & Internet Basics (720)
  • d) None of the Above (160)
  • Facebook Help (365)
  • Google, Chrome & Gmail Help (157)
  • HTML & Web Page Design (244)
  • Instagram Help (44)
  • iPad Help (137)
  • iPhone & iOS Help (571)
  • iPod & MP3 Player Help (173)
  • LinkedIn Help (79)
  • Linux Help (149)
  • Linux Shell Script Programming (86)
  • Mac & MacOS Help (833)
  • Most Popular (10)
  • Outlook & Office 365 Help (10)
  • PayPal Help (68)
  • Pinterest Help (53)
  • Reddit Help (12)
  • SEO & Marketing (80)
  • Spam, Scams & Security (84)
  • Trade Show News & Updates (23)
  • Twitter Help (212)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows 10 Help (831)
  • Wordpress Help (201)
  • Writing and Publishing (72)
  • YouTube Help (43)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (42)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2020 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy