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.
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
You post in your Telegram channel, and your bot passes the post to ClickRuntime.
Posts tagged #noshare are skipped.
If there's a photo, it's downloaded from Telegram.
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
Build your own
Need it to work differently?
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
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?
Are edits mirrored too?
Can I keep a post on Telegram only?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Look up Facebook ad interests from Telegram
Type an interest to your Telegram bot and get back related Facebook targeting interests with their audience sizes.
See how it worksTurn photos sent to Telegram into an approved Facebook post
Send photos or an idea to your bot, get a caption written, approve it in Telegram, and it's posted to your Facebook Page.
See how it worksGet a Telegram alert when your ad balance runs low
Telegram warns you once when your Meta ad account's remaining balance or spend cap drops below your limit.
See how it worksKeep exploring
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.