Instagram deprecated the Following Activity tab back in 2019 and the API has since been deprecated as well. Since it returns an error, it should be removed (or at least marked as deprecated) in the documentation.
Paste the output of python -V here:
3.9
Code:
from instagram_private_api import Client, ClientCompatPatch
user_name = 'redacted'
password = 'redacted'
api = Client(user_name, password)
print(api.news())
Error/Debug Log:
{'stories': [{'type': 13, 'story_type': 95, 'args': {'destination': 'news', 'text': "To focus on our most-used features, we're removing Following Activity. Update your app to see the new Activity tab.", 'timestamp': [redacted], 'tuuid': '[redacted]'}, 'counts': {}}], 'status': 'ok'}
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (==> [x] no spaces).Before submitting an issue, make sure you have:
Which client are you using?
instagram_private_api/
)instagram_web_api/
)Describe your issue
Instagram deprecated the Following Activity tab back in 2019 and the API has since been deprecated as well. Since it returns an error, it should be removed (or at least marked as deprecated) in the documentation.
Paste the output of
python -V
here: 3.9Code:
Error/Debug Log: