Open dylan736 opened 5 years ago
@RomjanHossain You can try if you want. :D The project is deprecated, lots of spammers on instagram and no one supported me (collaborations, PRs or donations). So I'm not supporting the project anymore. 🥂
@b3nab - I previously used this library for a project posting aerial photography to Instagram. Thank you for building it!
Hello there, I have actually debugged this issue .. turns out that Instagram has disabled their public API as of June 2020. Once if you check the code where the request is sent to the endpoint we actually get a 404 Not Found which is turning out to print the error "Unable to Upload Error" Your best option is to use Selenium or other resources for this automation
I cannot upload to Instagram with InstaPy-CLI using unchanged python scripts which used to work just 2 days ago.
I have two files (master.py and exec.py). I run exec.py to carry out the functions in master.py.
Master.py:
Exec.py:
These scripts fetch the Fortnite Item Shop image from nitestats.com API, resizes it to 1:1 for IG, and uploads it. Saving the image and resizing still works, but posting to IG doesn't. As the item shop refreshes every day at 00:00 for me, I use crontab on my RPi to schedule the running of these python scripts. It has worked in the past, so I know crontab has no errors. However, I set crontab to write to a log so that I could see if anything went wrong. Below is what I got.
Logs
This is what is outputted to a log when the scripts are functioning:
And, when they're not working:
Env (please complete the following information):
I have searched Google for this issue, and the only thing I could find was saying that Instagram have declined my request to upload. I have attempted to run the code on Windows, which gave the same issue, with and without a VPN, with different Instagram accounts, reset the passwords, and tried to use the scripts with and without the cookie file. I am fairly new to Python and would appreciate any help possible.