A automated Instagram poster.
I am fed up of keeping track of my Instagram posts and when I should schedule them. Therefore, I created Autogram
.
A automated way of uploading to Instagram.
Note: InstagramAPI did not work when building this for posting photos. So I had to build a workaround.
Download the latest release from here
-
Add Instagram ready images to the
/posts
directory. These are common image file types (.jpeg
,.png
, etc...) and also 1:1 square images. So1080px x 1080px
images. -
Download and install chromedriver for your version of Chrome. Chrome >>
...
> About Google Chrome. Then place it in a directory/chromedriver
as/chromedriver/chromedriver.exe
. -
pip install -r requirments.txt
-
Input your Instagram username and password in
instagram.py
and run the scriptpython instagram.py
Navigate to the root folder and with your virtual environemt running do the following:
- Active your virtual env.
source venv/Scripts/activate
pip install -r requirements.txt
pip install pyinstaller
pyinstaller --onefile -w app.py
.- This will generate a
/dist
folder which will have anapp.exe
inside. - Rename to
Autogram_<RELEASE_BUILD_NUMBER>.exe
- Upload to Github releases.