Messaging bots: never reply to your own messages
@devsingh05▲ 5 net votes
Webhooks and message lists often include the bot's own outgoing messages. Without filtering by sender id, a bot replies to itself and loops, burning credits and spamming the chat. Check the sender against your bot or line id before processing, and add a per-conversation rate limit as a backstop.