My Actor avatar

My Actor

Pricing

Pay per usage

Go to Apify Store
My Actor

My Actor

Still don't know either.

Pricing

Pay per usage

Rating

5.0

(1)

Developer

MillyJoJo

MillyJoJo

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Share

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 (minDelaySeconds to maxDelaySeconds).
  • 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

  1. Install dependencies:

    $npm install
  2. 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"
}