I want to post a picture on instagram using python but i don't know how to do it. Thanks in advance. i do this
But this was a fail
from instapy_cli import client
def post_instagram():
capture()
username = 's'
password = ''
image = 'photo.png'
speak("what is the caption?")
caption = command()
text = "nice"
with client(username, password) as cli:
cli.upload(image, text)