Questions tagged [instapy]
98 questions
0
votes
1 answer
what must be installed first for instapy to run without errors?
I created a instagram bot to search for hashtags, like the posts, comment and follow the accounts from the posts but it can't even get to the point of login into the account. I have Instapy and selenium installed but I keep running into errors…

Cru3d
- 1
- 1
0
votes
1 answer
problem in commenting a post with instaPy
i am trying to comment on a specific post in instagram
here is my code :
from instapy import InstaPy
insta_username = "username"
insta_password = "password"
session = InstaPy(username=insta_username, password=insta_password)
session.login()
# set…

raha
- 1
0
votes
1 answer
Instapy issue, probbably connected to firefox webdriver
So this is my code:
from instapy import InstaPy
session = InstaPy(username="", password="")
session.login()
session.like_by_tags(["bmw", "mercedes"], amount=5)
And it returns an error message:
InstaPy Version: 0.6.13
._.…

Marko
- 157
- 1
- 2
- 8
0
votes
1 answer
Why can't I comment on posts with this InstaPy Script?
I have created a python script so I can test the InstaPy module. I have a single problem and I cannot figure out why I cannot comment. I un my script, everything goes to plan, I even like the pictures, but the console output tells me - Not…

Stavros Klaoudatos
- 35
- 7
0
votes
1 answer
Randomly choose one method? attribute error - Python
Using instapy, I am using both a following and unfollowing method. In an attempt to halve the time needed for the program to run, I'm trying to have the program only follow or unfollow each time I run it. Instead of having to manually comment out…

hughm-01
- 35
- 5
0
votes
1 answer
Why instapy cannot find element xpath
I executed this code for a testing robot and I got this error and I don't know what i have to do?
from instapy import InstaPy
session = InstaPy(username="", password="")
session.login()
session.like_by_tags(["bmw",…

omid mohamadi
- 1
- 1
0
votes
1 answer
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable may have wrong permissions ON Heroku
Tried to deploy a survey bot for instagram using InstaPY but after adding https://github.com/evosystem-jp/heroku-buildpack-firefox buildpack to Heroku and setting GECKODRIVER_PATH to /app/vendor/geckodriver and FIREFOX_BIN to /app/vendor/firefox it…

Sumit Jaiswal
- 216
- 1
- 4
- 17
0
votes
2 answers
Can’t login with InstaPy
I am trying to use some bots on my Instagram page, but I can’t log in.
This is my code:
from instapy import InstaPy
session = InstaPy(username='' ,password='')
session.login()
I’m getting this error:
SessionNotCreatedException: Expected browser…

lemar1217
- 13
- 1
- 3
0
votes
1 answer
Compiling a script in. exe that uses InstaPy
I'm writing a bot for IG using the Tkinter and InstaPy libraries. If you run the script with an interpreter, everything works correctly, but after compiling it in .exe using pyinstaller, the console returns this error after starting the…
0
votes
0 answers
selenium.common.exceptions.WebDriverException: Message: invalid argument: can't kill an exited process OSX Catalina
I install instapy with pip brew install gecodriver
and result is this when I run with sudo
If I run without sudo firefox open instagram page open login details enter and trow me login credentials failed user and pass are correct. Can sombody tell me…

Mike Hadzhiev
- 27
- 6
0
votes
1 answer
Failed to install clarifai for "instapy"
Hey guys I'm trying to use the nstaPy bot written by python
and I tried to install the requirements using pip but unfortunately I came across with an error that I'm unable to
handle. the error is with installing "clarifai" library and I'm Getting…

IHosseini
- 31
- 4
0
votes
1 answer
How to use Like function of instabot module?
I want to use instabot to like an image but there is no like happen I get false.
I tried to use unlike and worked
from instabot import Bot
bot = Bot()
bot = Bot(max_likes_per_day=999)
bot.login(username="my_user",password="pass")
get_id_of_link=…

Eslam Tantawy
- 115
- 8
0
votes
1 answer
how to use InstaPy to send direct messages to users?
I've used python Selenium in order to create web scraping bots for a while.
Recently I found InstaPy and I've leveraged it to increase followers of some Instagram pages.
Now some of the page owners need to interact with users privately through…

Arman Karimi
- 11
- 1
- 6
0
votes
2 answers
InstaPy / "Too few images, skipping this tag"
I'm basically building an Instagram bot using InstPy module. When I try to make it like posts from a specific tag and follow 50% of the posts' accounts, it checks for posts with the tag, but it says "Too few images, skipping this tag". What should I…

Stefanos Fardellas
- 11
- 4
0
votes
1 answer
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
I've found some possible answers on internet but none seemed to work. Does anyone know what is going wrong?
The code:
""" Quickstart script for InstaPy usage """
# imports
from instapy import InstaPy
from instapy import smart_run
from instapy…

Jem
- 557
- 9
- 28