instagram_private_api icon indicating copy to clipboard operation
instagram_private_api copied to clipboard

how to use the web api plz help

Open m7amad-nem opened this issue 4 years ago • 0 comments

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Rlease read them carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • [x] Updated to the lastest version v1.6.0
  • [x] Read the README and docs
  • [x] Searched the bugtracker for similar issues including closed ones
  • [x] Reviewed the sample code in tests and examples

Which client are you using?

  • [ ] app (instagram_private_api/)
  • [x] web (instagram_web_api/)

Describe your Question/Issue: im a beginner idk how to use this can someone help me?

I installed it and installed all the requirements and did the setup but idk what to do after that


Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instagram_web_api import Client

web_api = Client()
user_feed_info = web_api.user_feed('1234567890', count=10)

Error/Debug Log:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ZeroDivisionError: integer division or modulo by zero

m7amad-nem avatar Jul 10 '20 13:07 m7amad-nem