Python library and cli used to post photos on Instagram, without a phone! You can upload a local file or use a link, it does everything automagically.
There are plenty of libraries written in Python dedicated to Instagram APIs (either public or private).. but most of them have unsolved issues and PRs not maintained for a time as long as 5-6 months.
At the same time, lots of developers want a simple and effective way to post photos programmatically.
So I dediced to start this repo and open-source it with ❤️
[FUTURE] spoiler:
And what if I want to upload a video?
Install
pip install instapy-cli
Use
instapy -u USR -p PSW -f FILE/LINK -t 'TEXT CAPTION'
Help
instapy --help
The images need to have an aspect ratio of 1:1, that is squared size.
First, long story short: instapy-cli is a fork of pynstagram, with the aim of extending its functionality and fixing all unresolved bugs.
Anyone that wants to collaborate, I promise to be a good repo manager and merge all your pull requests as soon as possible. I have some ideas to improve this but I need collaboration. Join and support! 💡
Short answer:
Yes, you are right.
Long answer:
Every connection from a mobile phone could be intercepted. Someone has done the hard work to sniff the packets sent from the phone to Instagram and "spread the news". You can do a quick research.
package | Source Link |
---|---|
requests | https://github.com/requests/requests |
MIT
To help instapy-cli
developers to build and maintain this project, go to docs/CONTRIBUTING.md
instructions soon
(Write it and collaborate! 😉)
Offer me a beer and support me and instapy-cli. 🎉