post to instagram python code example
Example: post to instagram from pc python
from instapy_cli import client
username = "username"
password = "**********"
image = 'glitch.png'
text = 'Flask for Python' + '\r\n' + '#glitch #python #gif https://pythonprogramming.altervista.org/publish-app-or-blog-with-glitch-com-and-python-in-no-time/'
with client(username, password) as cli:
cli.upload(image, text)