Instapy: TypeError when interacting with an accounts followers

Created on 30 Nov 2017  路  4Comments  路  Source: timgrossmann/InstaPy

I am getting a TypeError when running the script for following specified accounts followers. The error is below:

session.follow_user_followers(['usernames'], amount=10, randomize=False, interact=True)
TypeError: follow_user_followers() got an unexpected keyword argument 'randomize'

I copied the code directly from the code page as follows:

session.follow_user_followers(['usernames'], amount=10, randomize=False, interact=True)

help wanted

All 4 comments

Can you include more of the trace before and after those lines?

Here is the full output from running my script:

Logged in successfully!

Session ended

Traceback (most recent call last):
File "C:\Python Scripts\InstaPy-master\quickstart.py", line 27, in
session.follow_user_followers(['usernames'], amount=10, randomize=False, interact=True)
TypeError: follow_user_followers() got an unexpected keyword argument 'randomize'

My code is as follows:

from instapy import InstaPy

insta_username = 'xxxx'
insta_password = 'xxxx'

session = InstaPy(username=insta_username, password=insta_password)
session.login()

session.follow_user_followers([鈥榰sernames鈥橾, amount=10, randomize=False, interact=True)

# end the bot session
session.end()



@jeometry could you update InstaPy, try again and paste all the error message ?

Hello All,

I have updated the file and now I no longer get the error. Thank you all for your help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

CodeMaster1 picture CodeMaster1  路  3Comments

neomh picture neomh  路  3Comments

Naramsim picture Naramsim  路  3Comments

deronsizemore picture deronsizemore  路  3Comments

Spyd3r0us picture Spyd3r0us  路  3Comments