DEV Community


A Twitter Bot for Passive ❤️s

Jacob Paris
Sales funnels and B2B SaaS for the mortgage industry, almond latte fanatic, LA @eggheadio , formerly ToolStache
・1 min read

Paste this into your browser console (or make a plugin with Scriptish) and posts will ❤️ themselves automatically as you scroll

setInterval(() => {
  const heart = document.querySelector(`[data-testid="like"]`);
}, 1408);
Enter fullscreen mode Exit fullscreen mode

Or paste this into the address bar

javascript:setInterval((heart=document.querySelector(`[data-testid="like"]`)) => {heart &&;}, 1500);
Enter fullscreen mode Exit fullscreen mode

disclaimer: Automated likes are against Twitter ToS

second disclaimer: don't go to anyone's profile or you'll look like a stalker

Discussion (0)