Skip to main content
Question

How To send Tweets to Telegram with '.' and '-'

  • December 1, 2024
  • 2 replies
  • 38 views

I’m trying to send my tweets that I draft and than publish with Typefully automatically to Telegram with Zapier. 

But it says: 

Failed to create a message in Telegram

Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding '\'}

Also with ‘-’ . How to fix this?

My tweets will sometimes have things like that...

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Badger
Forum|alt.badge.img+5
  • New
  • 134 replies
  • December 1, 2024

@CryptoBoj 

Try a formatter to edit your url string to include the escape characters.

 


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2566 replies
  • December 2, 2024

Hi ​@CryptoBoj,

 

Welcome to the Community.

 

The error with Telegram is due to special characters needing to be escaped, such as '.' and '-.' To resolve this, use Zapier's "Formatter" to replace these characters with their escaped versions before sending the message to Telegram. Add a "Formatter by Zapier" step, choose "Text" and "Replace," then input the tweet text and replace each unique character with its escaped version. Repeat this for each character, and use the formatter's output in the Telegram message step to avoid parsing errors.

 

Let us know if you have any further inquiries. Thank you