MISSISSIPPIAN avatar

MISSISSIPPIAN

Pricing

Pay per usage

Go to Apify Store
MISSISSIPPIAN

MISSISSIPPIAN

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Edeon Hudson

Edeon Hudson

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Categories

Share

X (Twitter) Auto Liker & Commenter Actor

An automated Apify Actor that monitors your X (Twitter) feed and automatically engages with posts from specified target handles. It goes beyond simple liking by integrating DeepSeek for AI-generated contextual comments and Gemini 1.5 Flash for understanding images and videos attached to tweets.

Features

  • Multi-Engagement Support: Perform Likes (default 40), Retweets, Bookmarks, and Shares (copies link). Engagements are evenly spaced out based on their target counts.
  • DeepSeek AI Commenting: Leverages an active DeepSeek Web UI session to automatically generate highly contextual and human-like comments without API costs.
  • Gemini Media Parsing: Automatically fetches images and downloads videos using yt-dlp to pass them to Gemini 1.5 Flash, which feeds a visual description back into your DeepSeek prompt.
  • Handle Matching: Case-insensitive matching of X handles (@user1, user2, etc.).
  • Easy Authentication: Input your auth_token and ct0 for X, and ds_session_id and aws-waf-token for DeepSeek. Supports raw JSON imports from extensions like EditThisCookie.

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. Note: If running locally, you must have ffmpeg and yt-dlp installed on your host machine for video parsing to work.

  3. 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\nX",
"useRawJson": false,
"xAuthToken": "your_auth_token",
"xCt0Token": "your_ct0_csrf_token",
"deepseekSessionId": "your_ds_session_id",
"deepseekAwsWaf": "your_aws_waf_token",
"deepseekChatUrl": "https://chat.deepseek.com/a/chat/s/...",
"geminiApiKey": "your_gemini_api_key",
"likesCount": 40,
"retweetsCount": 10,
"commentsCount": 10,
"bookmarksCount": 5,
"sharesCount": 5,
"headless": false
}