instapy-cli icon indicating copy to clipboard operation
instapy-cli copied to clipboard

Unable to upload photo on insta.

Open imvickykumar999 opened this issue 5 years ago • 1 comments

[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.

imvickykumar999 avatar Jun 10 '20 09:06 imvickykumar999

Have you been able to solve the issue?

dsqalli2 avatar Jul 09 '20 11:07 dsqalli2

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

afrtite00 avatar Dec 23 '22 13:12 afrtite00

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

imvickykumar999 avatar Mar 10 '23 06:03 imvickykumar999

thanks

afrtite00 avatar Mar 15 '23 15:03 afrtite00