WEIR

Monitor a Twitter Account: Tweet Alerts to Discord or Slack

How to monitor a Twitter account and get tweet alerts in Discord, Slack or Telegram with no code, plus a signed webhook, faster options and costs.


Published · Updated · 7 min read

Cover image: Tweet alerts, on a schedule

To monitor a Twitter account, create a scheduled monitor that checks it and posts only its new posts to Discord, Slack or Telegram.

Since 25 October 2026, Weir sends those alerts straight into the chat app, so you need no code and no relay. We run Weir, and its monitors are scheduled, not streaming: the first section names faster options.

The link Weir needs, by app:

Discord   https://discord.com/api/webhooks/<id>/<token>
Slack     https://hooks.slack.com/services/<your path>
Telegram  https://api.telegram.org/bot<token>/sendMessage?chat_id=<chat id>
  1. Copy a chat linkA Discord channel webhook, a Slack incoming webhook or a Telegram bot link.
  2. Add it in WeirDashboard > Webhooks > Add a webhook. Weir sends a test message at once.
  3. Create the monitorMonitors > New monitor > An X account. Pick the webhook and a schedule.
  4. Watch the channelEach check that finds new posts sends one message.

Real time or on a schedule: which do you need?

Pick by how fast the alert must arrive.

Speeds and prices from each vendor's own page, on 19 November 2026:

Option Delay Price or free tier
X Activity API Real time $0.005 a post, developer account
TweetNotify Under 2 s From $19 a month for 10 accounts
GetXAPI monitors About 10 s From $19 a month for 6 accounts
NotifyMe Discord bot About 30 s 5 accounts free
TwitterAPIs monitors About 60 s 1 account free
IFTTT applet 15 to 60 min Free hourly, $2.99 for 15 min
Weir monitor 15 to 60 min Daily free, hourly ~$0.20 a month

So Weir suits brand news, digests and archives. It doesn't suit trading, crypto launches or restock drops, where seconds decide the outcome.

X's own Activity API is the most direct real-time route. Per X's docs, you can subscribe to any public account's post.create events, up to 1,500 subscriptions on self-serve apps. You need prepaid X credits and a server that passes X's challenge check.

Each chat app gives you a link that posts into one channel:

  • Discord: open the channel's settings, choose Integrations, then Webhooks, and create a new webhook. Copy its URL.
  • Slack: add an incoming webhook to a channel, then copy its hooks.slack.com/services/ URL.
  • Telegram: create a bot with @BotFather and add it to the chat. Build the link from the bot's token and the chat's id, as in the box above.

Our Twitter to Telegram guide shows how to find a chat's id.

Treat the link like a password: anyone who has it can post to your channel.

In your Weir dashboard, open Webhooks and find Add a webhook. Name it, paste the link into Endpoint URL, and press Create webhook.

Weir spots a Discord, Slack or Telegram link and posts a "Connected to Weir" message to the channel at once. If it doesn't arrive, check the link, then delete the webhook and add it again.

Chat links get readable messages, so there is no secret to store and nothing to verify.

Step 3: Create the account monitor

Open Monitors, then New monitor. Under What to watch, pick An X account and type the handle. Choose the webhook from Step 2 and a schedule, then press Create monitor.

Shortcut: our free Twitter account monitor shows what the account posted in the last 24 hours. Its "Get alerts" button opens this form, filled in.

What to know before it runs:

  • Hourly needs any $5 pack. The free plan runs one monitor and one webhook, daily or weekly. A pack allows hourly runs, 10 monitors and 5 webhooks.
  • It follows the account, not the name. The handle resolves once to a numeric id, so a rename doesn't break it.
  • It reads the timeline. Each run reads the newest page, about 20 posts and reposts, without replies. Watch busy accounts hourly.
  • The first run can skip what's already there. Leave Start from now ticked when you create the monitor (it is by default), or send "startFrom": "now" through the API: the first run saves the latest posts without sending them.

Step 4: See what arrives in the channel

Each check that finds new posts sends one message. It names the monitor, counts the new posts and lists up to five, each with its link:

Weir · "Posts by @XDevelopers": <n> new posts
• @XDevelopers: <the post's first 180 characters> (<likes> likes)
  https://x.com/XDevelopers/status/<post id>

Past five posts, the message ends with a count and a link to your dashboard. Discord messages never ping anyone, @everyone included.

Your own server: verify the signed JSON

Give a webhook any other HTTPS URL, and Weir sends a signed JSON event instead. The dashboard shows the signing secret once, so save it as WEIR_WEBHOOK_SECRET.

Each delivery is a POST with three headers: weir-signature, weir-timestamp and weir-event-id. Its data.results holds up to 25 posts in the API's own shape, each with id, text, url and author.

The signature is an HMAC-SHA256 of {timestamp}.{eventId}.{rawBody}, hex encoded. Hash the raw bytes, never re-serialised JSON.

import hashlib, hmac, os, time

SECRET = os.environ["WEIR_WEBHOOK_SECRET"].encode()

def verify(raw: bytes, signature: str, timestamp: str, event_id: str) -> bool:
    try:
        if abs(time.time() - int(timestamp)) > 300:  # reject stale deliveries
            return False
    except ValueError:
        return False
    message = f"{timestamp}.{event_id}.".encode() + raw
    expected = hmac.new(SECRET, message, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected.encode(), signature.encode())

This FastAPI receiver answers 200 at once, because Weir waits 10 seconds at most:

import json
from fastapi import BackgroundTasks, FastAPI, Request, Response
app = FastAPI()
seen: set[str] = set()  # use a database table in production
def save(posts: list[dict]) -> None: print(len(posts), "new posts")  # yours: a database, a file
@app.post("/weir")
async def weir_webhook(request: Request, background: BackgroundTasks) -> Response:
    raw, h = await request.body(), request.headers  # the exact bytes that were signed
    event_id = h.get("weir-event-id", "")
    if not verify(raw, h.get("weir-signature", ""), h.get("weir-timestamp", ""), event_id):
        return Response(status_code=400)
    if event_id not in seen:  # deliveries are at least once
        seen.add(event_id)
        background.add_task(save, json.loads(raw)["data"].get("results", []))
    return Response(status_code=200)

Design for these delivery rules:

  • At least once. A retry keeps its weir-event-id, so deduplicate on it.
  • Retries back off over about nine hours. A 4xx other than 429 isn't retried.
  • 20 failures in a row disable the webhook. One success clears the streak.

The same check in Node and Go is in the monitors and webhooks docs.

How much does it cost to monitor a Twitter account?

A check costs 1 credit plus 1 for each new post it sends. Posts already sent are never charged again. Here is one account posting 10 times a day:

Credits a month to watch one account
Monitor, daily~330
Monitor, hourly~1,020
Poll every 15 min~3,180
Poll every 5 min~8,940

Your 5,000 free monthly credits cover the first three. Hourly on one account comes to about $0.10 to $0.20 a month at pack rates.

The polling rows are your own loop on POST /v1/x/search with fromUsers and sinceId. A 15-minute monitor, after any pack, costs about the same as the 15-minute poll. Every 5 minutes costs about $0.79 a month above the free grant.

A monitor also bills a one-time 2-credit profile lookup on its first run. Packs and rates are on pricing.

When not to use Weir for this

  • You need alerts within seconds. Weir checks every 15 minutes at best. Use X's Activity API or a push service from the table.
  • You want rich embeds. Weir's chat messages are plain text, with no images.
  • You want the account's replies. The x_user monitor reads the timeline, which leaves replies out.
  • You watch hundreds of accounts. Monitor counts rise with your tier, and the top tier allows 200.

Weir is read-only, so it can't post or reply for you.

FAQ

Can I monitor a Twitter account in real time for free?

Close to it. NotifyMe's Discord bot follows 5 accounts free at about 30 seconds, and TwitterAPIs watches 1 account free at about 60. X's Activity API is real time at $0.005 a post. A free Weir monitor runs daily.

Can I send tweets to Discord without a bot?

Yes. Copy a channel webhook link in Discord and add it to Weir as a webhook. Each check that finds new posts sends one message, and there's nothing to host.

Will I get alerted twice for the same tweet?

Not by the monitor: it deduplicates by a hash of the content. Deliveries to your own server are at least once, though, so deduplicate on the weir-event-id header.

Can I watch keywords instead of one account?

Yes. A search monitor watches a keyword, a #hashtag or up to about 20 accounts at once with from:a OR from:b. Our guide to X advanced search operators helps you narrow it.

Why does my signature check fail with the right secret?

You're probably hashing parsed and re-serialised JSON. That reorders keys and changes the string. Hash the raw request body, exactly as received.

Sources

Speeds and prices checked on 19 November 2026.