mr0re1 / pynstagram

Python library that allows you to upload photos to instagram
145 stars 34 forks source link

Pynstagram worked great: now returning IOError #19

Closed commadelimited closed 6 years ago

commadelimited commented 8 years ago

I used Pynstagram successfully for a few weeks, but now it's returning the following error:

IOError: Please update your Instagram app to continue posting photos

I haven't changed anything on my end. Is it possible that Instagram has changed something on theirs? I've tried both as a module and using the CLI. I've logged into my account fresh to make sure that my credentials were correct.

Do you have any suggestions?

Here's the full stack trace:

Traceback (most recent call last):
  File "/Users/andymatthews/.virtualenvs/website/bin/pynstagram", line 9, in <module>
    load_entry_point('pynstagram==0.1.3', 'console_scripts', 'pynstagram')()
  File "/Users/andymatthews/.virtualenvs/website/lib/python2.7/site-packages/pynstagram/__main__.py", line 28, in main
    client.upload(options.file, text)
  File "/Users/andymatthews/.virtualenvs/website/lib/python2.7/site-packages/pynstagram/client.py", line 17, in upload
    self._session.configure_photo(media_id, caption)
  File "/Users/andymatthews/.virtualenvs/website/lib/python2.7/site-packages/pynstagram/session.py", line 95, in configure_photo
    raise IOError(resp_json.get('message'))
IOError: Please update your Instagram app to continue posting photos
tudoanh commented 7 years ago

@kdekooter Worked for me. Thanks a lot!