Skip to content

Instantly share code, notes, and snippets.

@ejmg
Forked from ashander/unfavorite.js
Created April 11, 2018 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ejmg/ec6a6e0b933b64dab67e5c4467708cbf to your computer and use it in GitHub Desktop.
Save ejmg/ec6a6e0b933b64dab67e5c4467708cbf to your computer and use it in GitHub Desktop.
Delete all your favorites (unfavorite or unlike every tweet) on twitter.com (thx to @JamieMason and @b44rd for inspiring this)
// 1. Go to https://twitter.com/i/likes
// 2. Keep scrolling to the bottom repeatedly until all your favs are loaded.
// 3. Run this in your console (open in chrome by View > Developer > JavaScript Console)
// Notes: this may take a while if you have a lot of favs/likes
// you can only access your most recent ~2000 likes.
// inspired by https://gist.github.com/JamieMason/7580315
$('.ProfileTweet-actionButtonUndo').click()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment