jarrodnorwell / InstaPy2

Instagram automation tool for farming comments, follows and likes, written in Python
GNU General Public License v3.0
52 stars 9 forks source link

Cant even run example script #36

Closed marceloagoston closed 1 year ago

marceloagoston commented 1 year ago

Hi, I tried to run the example script but I've got the following error:


Traceback (most recent call last):
  File "/home/maascg/Dev/PROYECTO/main.py", line 14, in <module>
    pk = session.configuration.location.get_pk(query='Resistencia')
         ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'InstaPy2' object has no attribute 'configuration'

Also I found lack of documentation... is the app currently working?? I'm open to help to improve or fix it if you need help

khansaad1275 commented 1 year ago

Facing same issues, i don't even know if this works or not. just throwing random errors. on top of that, this guy didn't even wrote a basic documentation.

jarrodnorwell commented 1 year ago

@marceloagoston yes it does still work, the limited documentation that does exist is a bit old (and bad) as I've moved onto emulation and application development.

get_pk is now a function of InstaPy2 meaning session.get_pk is what needs to be used. I'll be rewriting the project this year and will add documentation along the way.

marceloagoston commented 1 year ago

Ahh okay thanks!! where I could find a little summary of functionalities like follow an account, get the list of users that follow an account, login, etc??

Remember, If you need help I could collaborate with this project