Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 3
from instapy_cli import client
username = 'jubara_abdallah' # your username
password = '**********' # your password
#also you can post to instagram
image = 'Hi_instagram.png' --> here you can put the image directory or name better to have it in the same folder as your python file.
text = 'Here you can put your caption for the post' + '\r\n' + 'you can also put your hashtags like #pythoncode #webdeveloper '
with client(username, password) as cli:
cli.upload(image, text) .