I’m trying to get my API id/hash to create some bots for telegram , but in the API developmen tools section , when I enter my bot informations( name , shortname…) and click on create to get the results , I recieve an error :
my.telegram.org says ERROR
I live in Iran and telegram servers are blocked here .
Any solution for this problem?
!! I found the Iranians-only solution which I wrote down below .
6
Answers
I've found a solution! ( works for people in Iran mostly , cause telegram servers are blocked in Iran , same as facebook and tweeter . so you can log in to telegram site but when it comes to telegram api , no data would be transfered because it's blocked . )
simple requirements : Android phone + VPN(proxy)
If there's any Android phone close to you, take it and install a vpn (or just use a proxy to change your ip) and try to do get your API id/hash. If you have same problem again, just try other proxies or install other vpn apps. Surely you will get your API id, just be patient and repeat the process.
I disable the "AdBlock" extension in the browser and it’s work.
That may happen with enabled VPN extension as well
In my case the only way to make it work was to switch from Chrome to Safari
The ip address must be in the same country as the mobile phone number of the telegram account when applying
The ip address and phone number should be in the same country. If you are in countries that prevents you from Telegram such as China. The only way is to use the mobile number of another country (you can use Google Voice, textnow or etc.). By the way, if you use a +86 phone number, you can try using the IP address in Hong Kong
Working as of 1st January 2023
I’ve managed to register new App in PC under VPN (IP with another country that same with my registered number origin country) with following form details:
OS: Windows 11
Browser: Microsoft Edge (InPrivate mode without any plugins installed)
Hope this helps!