{"action":"created","issue":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/146","repository_url":"https://api.github.com/repos/LevPasha/Instagram-API-python","labels_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/146/comments","events_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/146/events","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/146","id":222870923,"number":146,"title":"How to get all my account followers?","user":{"login":"snenkov","id":13110986,"avatar_url":"https://avatars2.githubusercontent.com/u/13110986?v=3","gravatar_id":"","url":"https://api.github.com/users/snenkov","html_url":"https://github.com/snenkov","followers_url":"https://api.github.com/users/snenkov/followers","following_url":"https://api.github.com/users/snenkov/following{/other_user}","gists_url":"https://api.github.com/users/snenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/snenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snenkov/subscriptions","organizations_url":"https://api.github.com/users/snenkov/orgs","repos_url":"https://api.github.com/users/snenkov/repos","events_url":"https://api.github.com/users/snenkov/events{/privacy}","received_events_url":"https://api.github.com/users/snenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-19T21:03:24Z","updated_at":"2017-04-20T18:53:30Z","closed_at":null,"body":"I am trying to do a simple thing, which is to get all the followers of my account (as a test).\r\nBelow is my code:\r\n\r\n```\r\n#!/usr/bin/env python\r\n# -*- coding: utf-8 -*-\r\n#\r\n# Use text editor to edit the script and type in valid Instagram username/password\r\n\r\nfrom InstagramAPI import InstagramAPI\r\n\r\nInstagramAPI = InstagramAPI(\"accName\", \"password!\")\r\nInstagramAPI.login() # login\r\nInstagramAPI.getTotalFollowings(\"accName\")\r\n```\r\n\r\nI get the following error on my terminal:\r\n\r\n```\r\nRequest return 429 error!`\r\n\r\nLogin success!\r\n\r\nRequest return 404 error!\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 15, in <module>\r\n    InstagramAPI.getTotalFollowings(\"cortesbnk\")\r\n  File \"/home/stelian/Instagram-API-python/InstagramAPI.py\", line 733, in getTotalFollowings\r\n    for item in temp[\"users\"]:\r\nKeyError: 'users'\r\n```\r\n\r\nDoes this look familiar to anyone and do you know how it can be fixed?\r\nThanks!\r\n\r\nP.S. Really loving the repository otherwise and enjoying the exploration of the functions"},"comment":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/comments/295856743","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/146#issuecomment-295856743","issue_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/146","id":295856743,"user":{"login":"snenkov","id":13110986,"avatar_url":"https://avatars2.githubusercontent.com/u/13110986?v=3","gravatar_id":"","url":"https://api.github.com/users/snenkov","html_url":"https://github.com/snenkov","followers_url":"https://api.github.com/users/snenkov/followers","following_url":"https://api.github.com/users/snenkov/following{/other_user}","gists_url":"https://api.github.com/users/snenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/snenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snenkov/subscriptions","organizations_url":"https://api.github.com/users/snenkov/orgs","repos_url":"https://api.github.com/users/snenkov/repos","events_url":"https://api.github.com/users/snenkov/events{/privacy}","received_events_url":"https://api.github.com/users/snenkov/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T18:53:30Z","updated_at":"2017-04-20T18:53:30Z","body":"Okay, I managed to sucessfully get my followers data, so thanks for the feedback.\r\nNow I have another issue, I cannot get more than 172 followers' data... how can I get the data for all the followers?\r\n"}}
{"actor":{"display_login":"snenkov"}}