Delete Twitter Direct Messages

*****

This is a hack.
This is not guaranteed to work.
Twitter may change their website at any time.
I am not responsible if something breaks or you decide to delete all your DM’s.
Nor am I responsible if your friends get mad at you for deleting your sent DM’s from their Inbox.

*****

That being said, I’d like to introduce my DM Whacker, DM Deleter, DM Sniper, whatever you want to call it I created a tool to delete your direct messages en-masse on Twitter. After the recent debacle regarding direct messages being exposed, I definitely saw a need amongst some Tweeters do delete their direct messages.

I need to thank @chris4403 who posted his awesome Twitter Translate bookmarklet recently. Were it not for that, I would not have had the motivation nor the codebase off which to build my first bookmarklet.

With that introduction, I’d like to point you in the direction of the new DM Deleter. Simply drag the link that’s in that page up to your Firefox or Safari bookmark bar, navigate to your direct messages, click the bookmark and select your options to delete your DM’s once and for all. The tool allows you to delete all of your messages, or just messages from certain friends.

My apologies for the additional link, but I just wanted to reinforce the point that this tool will delete your direct messages forever. So, use it with care.

Feedback welcome. The ability to delete sent messages will be added in as well soonhas been added in version 0.2.4.

Continue reading » · Written on: 05-02-08 · 79 Comments »

79 Responses to “Delete Twitter Direct Messages”

  1. mdy wrote:

    Hi Damon! Many thanks for this bookmarklet. It works great on my Firefox 2.0.0.14 on WinXP. 8-)

    Some feedback:

    1. The parameter “dm’s with [____]” confused me for a while because I thought this meant it would delete any DMs that had the user-specified text in the string as part of the tweet.

    Perhaps that confusion can be avoided by rewording the text to “DM’s with user: [_____]”

    2. There are times when I want to delete DMs I’ve SENT to a particular user, but not the messages that they sent to me.

    I can’t seem to specify this particular combination of parameters right now, because messages from the Inbox are *always* deleted.

    3. It would be great if the pop-up at the end of the delete process told me how many direct messages were deleted from my Inbox and Sent items respectively.

    There are times when the parameters I provide don’t match any messages at all, and I don’t realize it.

    And folks with A LOT of direct messages can better appreciate the value of this bookmarket if they know how many direct messages were deleted on their behalf.

    That’s all from me. Thanks again for this great bookmarklet!

    May 2nd, 2008 at 7:17 pm
  2. Damon wrote:

    @mdy Thanks for your great, detailed feedback!

    The first two requests have been added in version 0.2.5.

    May 3rd, 2008 at 12:12 am
  3. Damon wrote:

    Version 0.2.6 is out, and it displays how many messages you’ve deleted.

    May 3rd, 2008 at 12:58 am
  4. mdy wrote:

    This is fantastic stuff, Damon! 8-) Thanks for such amazingly quick turn around on those suggestions! *thumbs up*

    May 3rd, 2008 at 7:03 am
  5. Louis Gray wrote:

    I love this idea, and just tried it on both FireFox and Safari. No dice. (Mac OS X)

    Any issues you know of, either due to platform, browser or total number? I have 1,655 messages.

    May 11th, 2008 at 10:02 am
  6. Melanie wrote:

    Thanks for this! Please click on my name to see my “select all delete: endangered species?” post – I’d LOVE for a similar setting for ALL tweets. That would rock.

    May 11th, 2008 at 12:28 pm
  7. Damon wrote:

    Louis

    I’ll have to see if Twitter updated their layout. Firefox and Safari on OS X is what I developed this on. I’ll check soon when I have a more reliable internet connection (currently on vacation).

    May 12th, 2008 at 1:17 am
  8. Twitter Love Day - A Proposal « Mediaphyter - A Communications Cocktail wrote:

    [...] It’s a pain in ye arse to delete old tweets or DMs and there is no mass deletion tool (Damon Cortesi created a great hack that I tried to delete DMs – and it works – but it’s not a long-term [...]

    May 21st, 2008 at 5:56 am
  9. Amy wrote:

    Thanks so much! I had TONS of messages to go through, and that saved me a lot of time! :)

    June 1st, 2008 at 9:24 am
  10. Mindy Koch wrote:

    Okay, you are officially my hero. I had 252 direct messages from “Remember the Milk” and there was no way I wanted to sit and delete them one a time. I can’t believe how quickly your app got rid of them. Thanks for letting me choose which direct messages to delete as well. That was cool. You totally rock.

    June 7th, 2008 at 4:06 pm
  11. chad wrote:

    hey, thanks for this utility. first time I tried it, it didn’t delete any messages but when I ran it again it worked perfectly. gracias.

    June 17th, 2008 at 12:29 pm
  12. Sammyjo wrote:

    *bows down and kisses feet*

    OH I LOVE YOU!!

    You just saved me potential HOURS of deleting 200 dms one by one.

    Oh I love the intertubes!

    June 29th, 2008 at 7:04 pm
  13. alegion wrote:

    It only deletes 20 dm’s at a time. Then it just hangs. I can’t be to picky 20 at a time is better than 1 :)
    Using Firefox 2.0

    July 29th, 2008 at 6:36 am
  14. hunee wrote:

    it’s working now… thanks :D

    August 5th, 2008 at 12:22 am
  15. Cara wrote:

    Don’t know what I’m doing wrong: everything works well (dragging the bookmark etc.), I can see the options whether to delete all or only selected DM, but after I confirm “Are you sure….” nothing happens. I still have all my DM. :(
    Any suggestions?

    August 9th, 2008 at 6:41 am
  16. Auto Delete Direct Messages from Twitter wrote:

    [...] http://dcortesi.com/2008/05/02/delete-twitter-direct-messages/ [...]

    September 24th, 2008 at 3:35 am
  17. Lovely Lady wrote:

    this works great on twitter, but is a little buggy with 3rd party apps like twinkle. i still see some dm’s that seem “stuck”. i logged out of my twinkle account and logged back in, but weird things are happening. i might have to do a hard restart.

    October 9th, 2008 at 3:51 pm
  18. Michael Bailey wrote:

    I think that Twitter did a changeroo and the DM Whacker no longer seems to work

    October 18th, 2008 at 7:11 am
  19. Damon wrote:

    Hi Michael,

    You’re right, Twitter is updating their structure on a regular basis. Coincidentally enough, it seems to happen when I have the least amount of Internet access. ;)

    I’ll work on fixing this as soon as I can, but it might be a couple days.

    October 18th, 2008 at 10:20 pm
  20. Diana wrote:

    Hi Damon.

    I really hope it works now, cuz I recommended it to someone and I don’t wanna let them down :D

    Cheers and thx,

    D.

    October 23rd, 2008 at 3:16 am
  21. Damon wrote:

    Thanks for passing on the word, Diana! I updated it earlier this week so it should be ok. Somebody just wiped out 10,000 messages with it a couple days ago. :)

    October 23rd, 2008 at 10:06 am
  22. Mark wrote:

    Perfect! Exactly what I was looking for. Thanks!

    November 2nd, 2008 at 5:01 pm
  23. pixelpunk wrote:

    Sweet! Worked like a charm. Thanks, man.

    November 14th, 2008 at 5:37 am
  24. trish wrote:

    Hmm, tried using this today, followed all instructions but it doesnt work. Basically, the Delete button is not clickable. Mouse doesn’t change when you mouse over it, either. Any help?

    Danke!

    November 24th, 2008 at 12:33 pm
  25. Damon wrote:

    Hi Trish,

    Chances are Twitter changed something again – I’ll try to take a look at it in the next few days and let you know!

    Bitte Schoën!

    November 24th, 2008 at 2:06 pm
  26. anomalous4 wrote:

    Not working for me. Click the Delete button and it just sits there. FF #.0.4, Mac OS X 10.4.11

    I don’t get many DMs but they clutter up Twitterific. That annoys me no end.

    November 30th, 2008 at 11:41 am
  27. Damon wrote:

    And it’s been updated again. Apologies for the slight delay, enjoy!

    November 30th, 2008 at 12:53 pm
  28. Jalada wrote:

    Awesome little tool! Very handy for a Remember the Milk fanatic like me, thanks for this!

    December 1st, 2008 at 1:19 pm
  29. Fyre Vortex wrote:

    Hmm… Never knew of the privacy disaster.

    December 9th, 2008 at 3:05 am
  30. Susan wrote:

    Thank you so much for this nifty little tool. Just used it on the latest version of Safari and it worked like a charm!

    December 11th, 2008 at 7:19 pm
  31. Kat wrote:

    I use it this morning because of all the worry over Twitter DM phishing, and man, this works incredibly awesome.
    Thank you for this very nifty and handy tool.
    I love it!

    January 5th, 2009 at 5:28 am
  32. Kat wrote:

    Oh yeah, using FF 3.0.5, worked very fast, no glitches or hanging.

    January 5th, 2009 at 5:28 am
  33. er0k wrote:

    This is great! FYI: also works perfectly in Opera 9.63, thanks :)

    February 20th, 2009 at 1:56 pm
  34. cathynume wrote:

    This totally worked. Your instructions should say. Make a bookmark with the link. I don’t know what a bookmarker is and I think most people say bookmark.

    February 25th, 2009 at 12:42 am
  35. Adam wrote:

    Great tool, worked perfectly deleting 70+ dm’s from my inbox.

    February 25th, 2009 at 11:34 pm
  36. Elliott wrote:

    Just wanted to say thanks – works great with Google Chrome!

    February 26th, 2009 at 1:51 am
  37. Alan wrote:

    Doesn’t work in IE6, IE7 or Flock, it has the indicator that its doing something but after 15 min, I gave up. And I only have 25 DM’s to delete. Twitter has disable the trash icon, so that may be it, but if that worked, I wouldn’t need DMWhacker. Twitter needs to get their app running consistently stable or just take it down. Did Microsoft develop Twitter? With all the bugs/issues, it must have.

    February 26th, 2009 at 5:08 am
  38. mrgiaiphapso wrote:

    thanks

    March 23rd, 2009 at 6:03 am
  39. The NCAA, Twitter, and Recruiting: Pete Carroll May Not Win Forever « The Arena wrote:

    [...] at least phone records from coaches would be easy to subpeona if the occasion required them. If deleting direct messages is possible with third-party applications, and Twitter direct messages-to-texts show up as texts from Twitter’s five-digit 40404 number [...]

    March 30th, 2009 at 3:58 pm
  40. NJ Paust wrote:

    Thank you! Used it & love it! Bye bye spam! Yee haw! You rock! :)

    April 14th, 2009 at 9:36 pm
  41. Jason wrote:

    I cannot get DMwhacker to work. It used to, but now when I click on the button it tells me that we need to be on the direct message page (even though i am on the DM page). I cloick ok so that DMwhacker takes me there and nothing happens.

    I do have an app in the right side panel of twitter that tracks top trendy searches, could that be causing the problem? I can’t seem to remove it and don’t remember the name of it so that I could contact them to remove the trend app.
    what could be wrong with dmwhacker?

    thanks for any help

    April 16th, 2009 at 5:20 am
  42. Michelle wrote:

    Twitter changed the url of the dm page. This seems to have ‘broken’ the dm whacker.

    May 1st, 2009 at 5:02 am
  43. reigny wrote:

    I have 3000 DM’s. i found that i deleted about 600 successfully. Now it seems stuck because in my DM inbox it has 0 people unless i click MORE. even if i click more and restart the app, it says 0 deleted, when actually i have about 2400 left. Thanks.

    May 2nd, 2009 at 9:45 am
  44. Scott wrote:

    Wow,
    This program rocks… all those DM’s were getting on my nerves and I can’t seem to wonder if it didn’t help in
    slowing down Twitter so I am glad that I found this app.
    It works great.
    Scott

    May 8th, 2009 at 7:47 pm
  45. Deleting Direct Messages from Twitter wrote:

    [...] Go here:  The DM Whacker site [...]

    May 15th, 2009 at 2:02 pm
  46. Xeross wrote:

    Thanks, Was looking for this. works like a charm.

    Firefox 3

    Regards, Xeross

    May 19th, 2009 at 8:16 am
  47. Ken Stampe wrote:

    It appears that the dmwacker doesn’t work with the new Flock 2.5 update that came out a couple of weeks ago.

    May 26th, 2009 at 8:47 am
  48. Nicole wrote:

    Thank You for making this! I have blogged about this, and I hope to draw traffic to you.

    May 30th, 2009 at 10:28 am
  49. Joe Brand wrote:

    Great tool! Works as advertised. I saw that by date is a request already. An older than date would be cool as an option to by date.

    May 31st, 2009 at 5:03 am
  50. CoolestGeek wrote:

    Great stuff – thanks for this – works just as it should! Rid 2000 direct messages from my Twitter account in one swoop! Nice :D

    June 12th, 2009 at 8:19 pm
  51. Ken the Tech wrote:

    the bookmarklet doesn’t appear in my bookmarks list? What is wrong? I’m using FF, the latest. Thanks!

    June 21st, 2009 at 7:13 am
  52. Stephen wrote:

    It doesn’t delete them all. Just the first 60…

    June 24th, 2009 at 5:58 pm
  53. CigarPlayer wrote:

    WOW! This is I just “Auto” deleted 1,760 “Sent” Direct Messages from Twitter with this tool in 3 minutes (Simply AWESOME!)

    June 28th, 2009 at 9:46 pm
  54. Sumeet wrote:

    I wrote a server-side version of this: http://twitterdmdestroyer.appspot.com/ – It’s a bit flaky for large inbox/outbox sizes, due to the number of requests required to delete each DM from AppEngine.

    July 3rd, 2009 at 1:44 am
  55. Stephen wrote:

    My DMs are stuck at 24, is there a way to delete them all?

    July 15th, 2009 at 6:27 pm
  56. Damon wrote:

    Hi Stephen – in some cases, there’s a bug in Twitter where the DM Whacker doesn’t work after a certain date for some messages.

    Unfortunately, you may have to manually delete those 24. Let me know if the DM Whacker continues to not work in the future.

    July 16th, 2009 at 12:18 pm
  57. @ihavegoodcredit wrote:

    Wow, my new best friend! Thanks so much, I can actually get the REAL DM’s and respond to my real followers. You Rock! I’ve already sent out a link to your site!

    July 21st, 2009 at 12:32 pm
  58. How to delete ALL of your Twitter DMs in one fell swoop | Blog13 wrote:

    [...] How to delete ALL of your Twitter DMs in one fell swoop July 24, 2009 | By Admin13 In Spammers Perish | Below you will find a solution to remove your direct messages on Twitter. This little guy has been known to delete thousands of DM’s. Please leave any comments on the original blog post. [...]

    July 24th, 2009 at 3:48 am
  59. Andrea wrote:

    Worked like a “Charm”. I had 444 auto dm’s. Thank you, thank you, thank you! You ARE the bombdiggity!!

    August 23rd, 2009 at 10:16 am
  60. Chris wrote:

    Good job, however it worked only once.. Now I get this with the latest FF : http://i25.tinypic.com/2psroer.jpg I get it twice and both Delete buttons don’t work. Help is appreciated!

    August 25th, 2009 at 2:06 am
  61. Shannon wrote:

    Thanks, it’s a great tool!

    September 4th, 2009 at 8:43 am
  62. Kara Smith wrote:

    Wonderful job – those annoying DM’s I sent via an outside app earlier today, are completely gone!

    Thanks!
    Kara

    September 23rd, 2009 at 2:19 pm
  63. Karasma Media by Kara Smith » Blog Archive » Twitter Aps, Personal DM’s and Spam — A Word of Caution for Legal Marketers and Other Professionals wrote:

    [...] interspersing DM responses between actual work,, I found DCortesi.com, who’s application DM Whacker enabled me to delete the messages in bulk.  It’s taking quite a while to delete all of them, [...]

    September 23rd, 2009 at 4:44 pm
  64. Fred wrote:

    As you said I had gotten a lot (2200+) messages and was just not working at deleting them by hand. Just now I ran the DM Whacker, incoming only, and it showed a shadowed page at a time, deleting and moving forward. After a bit it was only showing about 5 and swapping them out, then 4 for a while, and such, after a bit just one, and finally it said it was done, and that it had deleted 443 (interesting Andrea above said 444) and done. The count left was 1890, of which I have deleted by hand about 25 just to show they are there, now 1850 or so. BUT 2 things: 1) When I click on messages, it comes up with none and a ‘more’ button, which then brings up the messages. 2) DM Whacker continues to believe there are no more to delete. It has done me no harm, but I thought you might like to know.
    Fred

    October 4th, 2009 at 3:08 am
  65. Fred wrote:

    Fred again. Just a little followup. I went back about a half hour later, found the Twitter message count was up 3, and sure enough when I clicked it, the 3 new ones came up, with the More bar, which brought up the rest. I ran DM whacker and it deleted the 3 and said it was done. The remainder are still there available through the More button. Now I’ll shut up. Sorry to be so windy.
    Fred

    October 4th, 2009 at 3:34 am
  66. Fred wrote:

    Last from Fred. I’m on Firefox. IE8 asks the questions but does not delete even the new ones.

    October 4th, 2009 at 4:23 am
  67. DocGoy wrote:

    Moin!
    Für alle, die mit Englisch ein Problem haben, habe ich eine kurze deutsche Anleitung zu diesem Tool geschrieben.
    Die gibt es hier: http://ow.ly/tl3R
    DocGoy
    PS: How todo DM Whacker in german

    October 8th, 2009 at 4:39 am
  68. Martin wrote:

    Is it possible to expand the app to mass delete updates?

    October 10th, 2009 at 3:16 pm
  69. Nsiku wrote:

    Great tool deleted all of my DM’s, however statistics still show I have ‘103′ messages? I have tried refreshing; logging off etc…Any idea why?

    October 12th, 2009 at 1:50 am
  70. Steph wrote:

    Hey there,

    Seems that twitter may have done another switcharoo can’t seem to make this work anymore for the past few days.
    Is anyone else having problems?

    October 29th, 2009 at 9:31 pm
  71. LadySivitri wrote:

    Are you able to update this?

    November 1st, 2009 at 9:42 am
  72. Damon wrote:

    I’ll take a look as soon as I get a chance.

    November 3rd, 2009 at 1:48 am
  73. Need Deleter wrote:

    Yep I can’t get this to work anymore. Would be great to see it updated!

    November 6th, 2009 at 9:48 am
  74. Mimi wrote:

    I can’t get this to work. Nice idea though, I’ve been looking for something to do this FOREVER!

    November 11th, 2009 at 8:35 am
  75. Karamba wrote:

    Current version doesn’t work anymore. Waiting for update. Thanks!

    November 13th, 2009 at 11:50 am
  76. Dbotdesigns wrote:

    Doesn’t work for me either :( I have over 900 I need to get rid of

    November 15th, 2009 at 9:01 am
  77. Damon wrote:

    As noted on the bookmarklet page, http://dcortesi.com/tools/dm-deleter/ – Twitter recently made some changes that broke it.

    I don’t currently have time to fix it, but hope to soon.

    November 15th, 2009 at 2:15 pm
  78. The Gourmet Girl wrote:

    The marklet won’t let me drag it. It keeps telling me I have to be on the Twitter DM page. I used this before it broke and love it.
    Words of wisdom greatly appreciated.
    Thank you.

    December 3rd, 2009 at 3:00 am
  79. s3xt0y wrote:

    Great lil hack, works perfect.

    December 7th, 2009 at 10:26 pm

Leave a Reply