softcoder24 / insta_share

Share a post into your Instagram account using the requests library.
Other
27 stars 10 forks source link

KeyError: 'upload_id' #4

Open mikegrep opened 3 years ago

mikegrep commented 3 years ago

Traceback (most recent call last): File "share.py", line 13, in share_post = insta.post(image, caption="Lovely City") File "/home/pc/instagramBot/shudleApp/insta_session/insta_share/insta_share/instagram.py", line 88, in post upload_id = Instagram.upload_photo(self, photo) File "/home/pc/instagramBot/shudleApp/insta_session/insta_share/insta_share/instagram.py", line 79, in upload_photo upload_id = json_data['upload_id'] KeyError: 'upload_id' I didn`t manage to install jsonlib but I have build in json in python or that is different

oluca commented 2 years ago

Can you share your code?