Skip to content

Instantly share code, notes, and snippets.

@richardcmckinney
Forked from ashander/unfavorite.js
Created March 15, 2018 09:15
Show Gist options
  • Select an option

  • Save richardcmckinney/dc834b4a339fcc8781e1c9783d93902c to your computer and use it in GitHub Desktop.

Select an option

Save richardcmckinney/dc834b4a339fcc8781e1c9783d93902c 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