django telebot ... !

213 views
Skip to first unread message

arma...@gmail.com

unread,
Jan 20, 2017, 2:07:30 PM1/20/17
to Django users
Hi ...
I have a website that powerd by django .
I can send message to my telegram channel with python client ( import telebot ) .
But on website(django base) can't send message to channel and recive blow error :

{'error': 'Got unexpected response. (404) - {"ok":false,"error_code":404,"description":"Not Found"}', 'ok': False}

why ?

ludovic coues

unread,
Jan 20, 2017, 4:15:04 PM1/20/17
to django...@googlegroups.com
Please, can you send some of your code ?
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/dfa13bbb-391c-4a95-9a36-3836de62b456%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

Cordialement, Coues Ludovic
+336 148 743 42

Cassady Steel

unread,
Feb 14, 2017, 7:36:08 AM2/14/17
to Django users
I will UP this question :)

Amazon AWS. EC2 T2.micro Ubuntu

$ /usr/bin/python3

>>> import telebot
>>> token = "567891234:AAFcanBedGboDfLgVCak-Bqqc3i2NZfiGlg" (not actualy my token)
>>> bot = telebot.TeleBot(token)
>>> bot_id = bot.get_me()
>>> print(bot_id)
{'ok': False, 'error': 'Got unexpected response. (404) - {"ok":false,"error_code":404,"description":"Not Found"}'}

What can I do? :)
Thnx!

суббота, 21 января 2017 г., 0:15:04 UTC+3 пользователь ludovic coues написал:
Reply all
Reply to author
Forward
0 new messages