x into all the boxes [ ] relevant to your issue (like so [x]).Paste the output of python -V here:
Code:
# Example code that will produce the error reported
from instabot import Bot
bot = Bot()
bot.login(username="user", password="pass")
followers = bot.get_user_followers(bot.user_id)
Error/Debug Log:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero
Explanation of your issue goes here. Please make sure the description is worded well enough to be understood with as much context and examples as possible.
Hello...my inifinity_feedliker has stopped by error 405. Im running on VPS, does anyone know how to fix it?
me too
api.py
def get_timeline_feed(self):
""" Returns 8 medias from timeline feed of logged user."""
data = self.json_data({'is_prefetch': '0','is_pull_to_refresh': '0'})
return self.send_request('feed/timeline/', data, with_signature=False)
I edited api.py as you provided but still no joy, my bot still not working since the last update. I tried to uninstall pip and even delete instabot folder then re-git clone on my VPS but still doesnt work.... Somebody help please
It say 405, error while getting timeline feed
I edited api.py as you provided but still no joy, my bot still not working since the last update. I tried to uninstall pip and even delete instabot folder then re-git clone on my VPS but still doesnt work.... Somebody help please
if you are using it installed by pip, try to modify api.py as i shown above at somewhere like /usr/local/lib/python/dist-packages/instabot or /usr/lib/python/dist-packages/instabot, use search to find where it exactly located
find /usr -name "instabot*"
And my bots back to bussiness, thanks!!!
Now i get nothing to like after filteration, can u tell me where to add comment? I want to like every single post on my feed, even if those post are get 0 liked. Thanls in advance
And my bots back to bussiness, thanks!!!
Now i get nothing to like after filteration, can u tell me where to add comment? I want to like every single post on my feed, even if those post are get 0 liked. Thanls in advance
fetching more than default amount of timeline items require some api researching and doesn't implemented yet as far as i know
data = self.json_data({'is_prefetch': '0','is_pull_to_refresh': '0'}) return self.send_request('feed/timeline/', data, with_signature=False)
This fixed it for me. Thank you so much.
data = self.json_data({'is_prefetch': '0','is_pull_to_refresh': '0'}) return self.send_request('feed/timeline/', data, with_signature=False)
can we not change this in the repo?
api.py
def get_timeline_feed(self): """ Returns 8 medias from timeline feed of logged user.""" data = self.json_data({'is_prefetch': '0','is_pull_to_refresh': '0'}) return self.send_request('feed/timeline/', data, with_signature=False)
Does not fix the issue for me.
Bump - This still isn't working for me either.
Same for me.
I'll get a 405 error with all the examples, not only liking.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Bump - This still isn't working for me either.