subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.38k stars 685 forks source link

Problem deploying on Heroku #50

Closed mikebgrep closed 3 years ago

mikebgrep commented 3 years ago

I made web application with flask witch use the api.In my local machine work fine when I deploy to heroku I recive this error message:

2020-12-27T12:07:08.823479+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/instagrapi/mixins/private.py", line 207, in _send_private_request
2020-12-27T12:07:08.823479+00:00 app[web.1]:     raise LoginRequired(response=e.response, **last_json)
2020-12-27T12:07:08.823663+00:00 app[web.1]: instagrapi.exceptions.LoginRequired: login_required

What will be the problem.It can be something from the api or I have problem with app thanks

adw0rd commented 3 years ago

Probably you are not logged in and Instagram informs you about it