ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.71k stars 1.47k forks source link

Liking Timeline Feed not working #1240

Closed wkitsin closed 4 years ago

wkitsin commented 4 years ago

Please follow the guide below


Before submitting an issue, make sure you have:

Which example file are you using?


Describe your Question/Issue:

First of all, thank you to all the contributors to this repo!

I was just testing out stuff by first liking my own timeline feed. But I'm only getting Nothing to like.. I've tried playing around with the filters in bot.py. But I'm still getting the same message.

Then I was digging further with the bot_like.py file by changing the line 207 output to

    self.logger.info("Liking timeline feed: !!!! ")

but it doesn't reflect in the logs when running the file. This is my first time working on a python project. I'm sorry if I'm missing out something here.

I've been also reading on post https://github.com/instagrambot/instabot/issues/701. But I'm not getting anything.

Thanks in advance !


Error/Debug Log:

2020-01-18 00:24:30,425 - INFO - Liking timeline feed:
2020-01-18 00:24:31,653 - DEBUG - <Response [200]>
2020-01-18 00:24:31,655 - INFO - Received 8 medias.
2020-01-18 00:24:31,655 - INFO - After filtration 0 medias left.
2020-01-18 00:24:31,655 - INFO - Nothing to like.
2020-01-18 00:24:31,656 - INFO - Total requests: 26
duplicate-issues[bot] commented 4 years ago

Hey @wkitsin,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

bruvv commented 4 years ago

Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).

Thanks for your question but please fix the x

fighterii commented 4 years ago

This is typically related to different installation folders. I assume you installed instabot via pip and you have checkout/download the repo to some other place to use/edit the examples.

On a clean python file import instabot will import from the pip source (because that is typically the first occurrence in sys.path where an module instabot is found)

If you would change the line sys.path.append(os.path.join(sys.path[0], "../")) To something like sys.path.insert(0,os.path.join(sys.path[0], "../")) Than the bot from the location where you edit the examples will be used (because parent folder "../" is inserted at the first not the last place of the sys.path list)

wkitsin commented 4 years ago

thanks @fighterii !