My Actor
Pricing
Pay per usage
Go to Apify Store
X (Twitter) Auto Liker Actor
An automated Apify Actor that monitors your X (Twitter) feed and likes posts from specified target handles using Playwright with optional Brave persistent context or cookie authentication.
Features
- Handle Matching: Case-insensitive matching of X handles (
@user1,user2, etc.). - Authentication: Supports persistent browser profile (
userDataDir), custom executable path (e.g. Brave browser), or standard JSON cookie injection. - Humanized Delays: Randomized delays between likes (
minDelaySecondstomaxDelaySeconds). - Safety Limits: Max likes safety limit (
maxLikesPerRun) to prevent rate limits.
Project Structure
apify-x-liker-actor/├── .actor/│ ├── actor.json│ └── input_schema.json├── src/│ └── main.js├── Dockerfile├── package.json└── README.md
Running Locally
-
Install dependencies:
$npm install -
Run the Actor locally:
$npx apify run
Input Configuration
Inputs can be set in .actor/INPUT.json when running locally or via the Apify Console.
{"targetUsernames": ["@elonmusk", "X"],"maxLikesPerRun": 10,"minDelaySeconds": 30,"maxDelaySeconds": 50,"braveExecutablePath": "C:\\Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe","userDataDir": "C:\\Users\\YourUser\\AppData\\Local\\BraveSoftware\\Brave-Browser\\User Data"}


