Telegram bot you can run on your VPS:
- You message it a photo with a caption
- It posts to your X and LinkedIn
The bot is written in Go (PostXLinkedInbot/). An optional n8n/ folder is included if you prefer to route posting through n8n.
- Set up a Telegram bot token with BotFather
- Create API tokens for:
- X: OAuth2 user token with scopes like
tweet.writeandmedia.write - LinkedIn: OAuth2 access token and your author URN (
urn:li:person:...or org urn)
- X: OAuth2 user token with scopes like
- Configure
PostXLinkedInbot/.envand run it
Set N8N_WEBHOOK_URL and implement/import an n8n workflow that accepts the webhook payload described in n8n/README.md.