Tkd-Alex / Telegram-InstaPy-Scheduling

A Telegram bot for scheduling InstaPy
152 stars 38 forks source link

Telegram Error #9

Closed ArielEcker closed 6 years ago

ArielEcker commented 6 years ago

Can you help me?

========= RESTART: C:\Ariel\2018\InstaPy-master\telegram-instapy.py ========= Traceback (most recent call last): File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 231, in main() File "C:\Ariel\2018\InstaPy-master\telegram-instapy.py", line 204, in main updater = Updater(telegram_token) File "C:\Python 3.6.4\lib\site-packages\telegram\ext\updater.py", line 122, in init self.bot = Bot(token, base_url, request=self._request) File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 108, in init self.token = self._validate_token(token) File "C:\Python 3.6.4\lib\site-packages\telegram\bot.py", line 134, in _validate_token raise InvalidToken() telegram.error.InvalidToken: Invalid token

xoreina commented 6 years ago

have the same problem,any fixes?

Tkd-Alex commented 6 years ago

Follow #4 Maybe it's only and error on your config file. Anyway try to write your telegram token directly in token variable