{"action":"created","issue":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/413","repository_url":"https://api.github.com/repos/LevPasha/Instagram-API-python","labels_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/413/comments","events_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/413/events","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/413","id":330554795,"node_id":"MDU6SXNzdWUzMzA1NTQ3OTU=","number":413,"title":"NEEDS UPDATE. This doesn't work at the moment.","user":{"login":"CoderzNation","id":17634295,"node_id":"MDQ6VXNlcjE3NjM0Mjk1","avatar_url":"https://avatars1.githubusercontent.com/u/17634295?v=4","gravatar_id":"","url":"https://api.github.com/users/CoderzNation","html_url":"https://github.com/CoderzNation","followers_url":"https://api.github.com/users/CoderzNation/followers","following_url":"https://api.github.com/users/CoderzNation/following{/other_user}","gists_url":"https://api.github.com/users/CoderzNation/gists{/gist_id}","starred_url":"https://api.github.com/users/CoderzNation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CoderzNation/subscriptions","organizations_url":"https://api.github.com/users/CoderzNation/orgs","repos_url":"https://api.github.com/users/CoderzNation/repos","events_url":"https://api.github.com/users/CoderzNation/events{/privacy}","received_events_url":"https://api.github.com/users/CoderzNation/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-08T07:49:49Z","updated_at":"2018-06-16T15:42:04Z","closed_at":null,"author_association":"NONE","body":"Says the app needs to be updated... This is what the JSON dump stated....\r\n\r\n{u'status': u'ok', u'megaphone': {u'generic_megaphone': {u'uuid': u'cf3bda4d504840a183f8ba62da67ac7b', u'dismissible': False, u'title': u'Update Your App to Use Direct', u'buttons': [{u'url': u'https://play.google.com/store/apps/details?id=com.instagram.android', u'text': u'Update', u'style': u'confirm'}], u'button_location': u'bottom', u'action_info': {}, u'button_layout': u'vertical', u'megaphone_version': u'v1', u'message': u'Your Instagram app is out of date. Update it now to use Direct.', u'type': u'deprecate_raven_tray', u'icon': None}}, u'inbox': {}}"},"comment":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/comments/397820682","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/413#issuecomment-397820682","issue_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/413","id":397820682,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgyMDY4Mg==","user":{"login":"xmsid","id":32135119,"node_id":"MDQ6VXNlcjMyMTM1MTE5","avatar_url":"https://avatars2.githubusercontent.com/u/32135119?v=4","gravatar_id":"","url":"https://api.github.com/users/xmsid","html_url":"https://github.com/xmsid","followers_url":"https://api.github.com/users/xmsid/followers","following_url":"https://api.github.com/users/xmsid/following{/other_user}","gists_url":"https://api.github.com/users/xmsid/gists{/gist_id}","starred_url":"https://api.github.com/users/xmsid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmsid/subscriptions","organizations_url":"https://api.github.com/users/xmsid/orgs","repos_url":"https://api.github.com/users/xmsid/repos","events_url":"https://api.github.com/users/xmsid/events{/privacy}","received_events_url":"https://api.github.com/users/xmsid/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T15:42:04Z","updated_at":"2018-06-16T15:42:04Z","author_association":"NONE","body":"I Solved it easily by changing something in the `USER_AGENT` variable at line 45.\r\nit starts with `Instagram 10.26.0 Android` (notice the version number which is probably old) and changed the version number to `50.0.0.6.119` which is quite new, I didn't change the whole variable to `50.0.0.6.119` i just changed the version number.\r\neach time you get that error you can just change the version number with the latest version for instagram(android)."}}
{"actor":{"display_login":"xmsid"}}