Skip to content

The moment it happens

Mirror your Telegram channel to your Facebook Page

Posts in your Telegram channel are reposted to your Facebook Page, with photos, as soon as you publish them.

Runs
The moment it happens
Apps
Facebook Pages, Telegram
AI
Not needed
Access
pages_manage_posts; bot admin in channel

Send this to your assistant

Create a ClickRuntime automation: when I post in my Telegram channel, repost the text and any photo to my Facebook Page.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A local sports club runs its announcements on a Telegram channel, but many parents only follow the club on Facebook. Copying every fixture change and photo across is a chore that the club secretary often forgets.

Every channel post now appears on the Facebook Page within seconds, photo included, so Facebook followers are never a step behind.

What you get out of it

  • One post, two audiences

    Telegram and Facebook followers get the same news.

  • Photos come across

    Match photos and team pictures are reposted in full.

  • Always up to date

    Fixture changes reach Facebook as fast as Telegram.

  • No copy-paste

    Nobody has to remember to repost.

How it works

What happens, step by step

  1. You post in your Telegram channel, and your bot passes the post to ClickRuntime.

  2. Posts tagged #noshare are skipped.

  3. If there's a photo, it's downloaded from Telegram.

  4. The post, with its photo, is published on your Facebook Page.

Before it runs live

  • Connect Facebook Pages
  • Connect Telegram
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Mirror your Telegram channel to your Facebook Pagejust nowSucceeded
Facebook · Northwind FCSaturday's U12 match moves to 11:00 at the Riverside pitch. See you there!

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Facebook Pages and Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
telegram_channel_mirrored_to_facebook_page.pyexample
from clickruntime import on_event, credentials, http

PAGE_ID = "1234567890"

@on_event
def handle(event):
    post = (event.json or {}).get("channel_post", {})
    text = post.get("text") or post.get("caption") or ""
    if "#noshare" in text or not (text or post.get("photo")):
        return {"skipped": True}
    fb = {"access_token": credentials.connection("facebook", "work")}
    if post.get("photo"):
        token = credentials.secret("TELEGRAM_BOT_TOKEN")
        path = http.get(f"https://api.telegram.org/bot{token}/getFile",
                        params={"file_id": post["photo"][-1]["file_id"]}).json()["result"]["file_path"]
        image = http.get(f"https://api.telegram.org/file/bot{token}/{path}").content
        result = http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/photos", data={**fb, "caption": text},
                           files={"source": image}).json()
    else:
        result = http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed", data={**fb, "message": text}).json()
    return {"post": result.get("id")}

FAQ

Common questions

Does my bot need admin rights?
Yes. Add the bot as an admin of your channel so it receives every new post.
Are edits mirrored too?
No. Only new posts are reposted. Edit the Facebook post by hand if you change a channel post later.
Can I keep a post on Telegram only?
Yes. Add #noshare anywhere in the post and it's skipped.
What permissions does it need?
pages_manage_posts; bot admin in channel. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Mirror your Telegram channel to your Facebook Page” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.