Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] in user_follow #111

Open
DmitriyMakarov opened this issue Oct 7, 2024 · 0 comments
Open

[BUG] in user_follow #111

DmitriyMakarov opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DmitriyMakarov
Copy link

Try HikerAPI SaaS with a free trial https://hikerapi.com/p/KhMxYMSn

Describe the bug
When trying to follow the user, it gives an error referring to the library:
File "C:\Users\user\PycharmProjects\b2r_instagram_follower\.venv\Lib\site-packages\aiograpi\mixins\user.py", line 918, in user_follow if user_id in self._users_following.get(self.user_id, []):
in line 918:
if user_id in self._users_following.get(self.user_id, []): self.logger.debug("User %s already followed", user_id) return False

To Reproduce
cl = Client() cl.delay_range = [1, 5] cl.set_settings(a["settings"]) await cl.login(USERNAME, PASSWORD) await cl.get_timeline_feed() result = await cl.user_follow(c["userid"]) print(result)

Traceback
AttributeError: 'Client' object has no attribute '_users_following'. Did you mean: 'user_following'?

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: WIN11
  • Python version 3.12
  • aiograpi version 0.0.3
  • moveipy version if used 1.0.3
  • imagemagick version if used

Additional context
Add any other context about the problem here.

@DmitriyMakarov DmitriyMakarov added the bug Something isn't working label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant