b3nab / instapy-cli

:sparkles: Python library and CLI to upload photo and video on Instagram. W/o a phone!
MIT License
601 stars 98 forks source link

Unable to upload photo on insta. #99

Closed imvickykumar999 closed 1 year ago

imvickykumar999 commented 4 years ago

[IG] not found cookie/cookie_file >> login as default Error parsing error response: Expecting value: line 1 column 1 (char 0) Error is >> Bad Request

Something went bad. Please retry or send an issue on https://github.com/b3nab/instapy-cli


OSError Traceback (most recent call last)

in 5 text = 'Happy BirthDay Sundar Pichai...' + '\r\n' + 'This photo is uploaded using instabot library of Python. "It is Important to Follow Your Dreams and Heart. Do Something that Excites You. ― Sundar Pichai"' 6 with client(username, password) as cli: ----> 7 cli.upload(image, text) ~\Anaconda3\lib\site-packages\instapy_cli\cli.py in upload(self, file, caption, story) 151 print('Done.') 152 else: --> 153 raise IOError("Unable to upload.") 154 return res OSError: Unable to upload.
dsqalli2 commented 4 years ago

Have you been able to solve the issue?

afrtite00 commented 1 year ago

Hi ! did you solve it , I'm trying to upload videos but there is no other lib that supports that, can you help me with that

imvickykumar999 commented 1 year ago

Hi ! did you solve it , I'm trying to upload videos but there is no other lib that supports that, can you help me with that

Yes, I have solved it.

https://github.com/imvickykumar999/Auto-Upload-Photo-on-Instagram/blob/main/instaphoto.py

afrtite00 commented 1 year ago

thanks