Deploy twitter-media-tracker

A small service that verifies specific Twitter interactions

Deploy twitter-media-tracker

twitter-media-tracker

rubrion/twitter-media-tracker

Just deployed

Added 1 todo

Deploy and Host twitter-media-tracker on Railway

twitter-media-tracker is a small Node.js service that verifies whether a given Twitter/X user follows a target account and whether they commented on a specific tweet. It uses Apify actors to fetch follower lists and tweet comments, aggregates results, and returns a simple verification JSON suitable for gating airdrops, contests, or moderation checks.

About Hosting twitter-media-tracker

Hosting this project on Railway requires a Node 18+ runtime, an Apify account with the two required actors added, and a valid Apify token stored as an environment variable. Deploying is straightforward: connect your repository to Railway, set the environment variables, and ensure your Apify account has sufficient credits (Starter plan or higher) because these Apify actors may be blocked for free accounts due to abuse prevention. Railway will handle the server provisioning and scaling; you only need to monitor Apify usage and set appropriate timeouts and caching policies.

Common Use Cases

  • Verify entrants follow a target account and commented on a tweet for a giveaway/airdrop.
  • Automated moderation or reward checks: confirm a user interacted with a specific tweet.
  • Analytics or CRM enrichment: combine follower and comment data for segmentation.

Dependencies for twitter-media-tracker Hosting

  • Node.js >= 18
  • An Apify account with the following actors added and sufficient credits

Deployment Dependencies

Implementation Details (optional)

  • Required env vars (short):
    • APIFY_TOKEN — Apify API token used to start/call actors (requires Starter plan or higher).
    • NODE_ENV — development or production (controls example-data vs live calls).
    • PORT — server port (defaults to 3000).
  • Example API request (JSON payload) to verify interactions:
    • POST /api/interactions/verify
    • payload: { "user": "username", "tweetUrl": "https://x.com/user/status/123", "targetPage": "target_account", "timeFilter": { "since": "YYYY-MM-DD", "until": "YYYY-MM-DD" } }
  • Notes: Cache follower results (24h) to reduce Apify calls and costs. If Apify calls fail, check that both actors are added to your account and that your account has credits; developer-enforced blocks can prevent free accounts from running these actors.

Why Deploy twitter-media-tracker on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying twitter-media-tracker on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

twitter-media-tracker

rubrion/twitter-media-tracker

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

View Template
Postgres S3 backups
A simple NodeJS app to back up your PostgreSQL database to S3 via a cron

View Template
Prefect [Updated Nov ’25]
Prefect [Nov ’25] (ETL & Automation alternative to Airflow) Self Host