Error Message
I want to create a Telegram bot, but my host is not receiving Telegram API requests.
Telegram is specifically blocked here due to abuse.
But even if it wasn’t, the security system blocks most non-browser connections
That’s actually two different systems.
The security system is about incoming requests. The telegram block on free hosting is about outbound connections the hosting server made to telegram.
Ah I thought Telegram worked both ways like Whatsapp does. I’ve never worked with telegram, but Whatsapp requires both an in and outbound connection to work, so I just kind of assumed it was the same.
For example, I created a bot.php file and hooked it to the Telegram API
How does my Telegram bot work?![]()
As Both myself and Meishin have said, all outbound requests to Telegram (and their API) are blocked on free hosting due to abuse.
This will not work here.
So, don’t you have any other ideas?
Ideas for what?
The answer will not change just because you asked the same question over and over again.
And no people are not going to recommend another hosting for you, you can find an appropriate service by yourself.
Unless Telegram isn’t blocked on premium of course. It may only be blocked on the free service, but you’d have to ask iFastNet directly to be sure.
I’m pretty sure that access to the Telegram API is not blocked on premium hosting. The networks are segmented so it shouldn’t be an issue. But you could ask iFastNet to be sure.
Access from Telegram should not be an issue, the security system that blocks that on free hosting is not present at all on premium hosting.
I’m curious to know why you blocked all outgoing requests to Telegram (and its API)? ![]()
Abuse.
Short and simple. People were abusing it, so it got blocked
If I had to guess, the problem was rampant spam bots. If 90-something percent of the people using the API are doing so for nefarious reasons, it does make sense to take action to prevent that abuse, even if it comes at the expense of a handful of people who need it for legitimate reasons.
I understand ![]()
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.