Skip to content

Instantly share code, notes, and snippets.

@aqabawe
Last active December 29, 2015 09:08
Show Gist options
  • Select an option

  • Save aqabawe/7647748 to your computer and use it in GitHub Desktop.

Select an option

Save aqabawe/7647748 to your computer and use it in GitHub Desktop.
Back up your Twitter DMs as text, just paste the code in your browser console.
$.map($(".dm"),function(e){var t=$(e);return(t.hasClass("received")?"Received":"Sent")+"("+t.find("._timestamp").text().trim()+"):"+t.find(".dm-message p").text()}).join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment