{"action":"created","issue":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/150","repository_url":"https://api.github.com/repos/timgrossmann/InstaPy","labels_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/150/comments","events_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/150/events","html_url":"https://github.com/timgrossmann/InstaPy/issues/150","id":222580711,"number":150,"title":"TypeError: 'NoneType' object is not iterable","user":{"login":"dlt","id":48270,"avatar_url":"https://avatars1.githubusercontent.com/u/48270?v=3","gravatar_id":"","url":"https://api.github.com/users/dlt","html_url":"https://github.com/dlt","followers_url":"https://api.github.com/users/dlt/followers","following_url":"https://api.github.com/users/dlt/following{/other_user}","gists_url":"https://api.github.com/users/dlt/gists{/gist_id}","starred_url":"https://api.github.com/users/dlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlt/subscriptions","organizations_url":"https://api.github.com/users/dlt/orgs","repos_url":"https://api.github.com/users/dlt/repos","events_url":"https://api.github.com/users/dlt/events{/privacy}","received_events_url":"https://api.github.com/users/dlt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-19T00:13:43Z","updated_at":"2017-04-19T00:23:36Z","closed_at":"2017-04-19T00:23:36Z","body":"I'm getting the following error:\r\n\r\n> Traceback (most recent call last):\r\n>   File \"script.py\", line 10, in <module>\r\n>     session.like_by_tags(['fitness'], amount=100)\r\n>   File \"/Users/dlt/programming/python/InstaPy/instapy/instapy.py\", line 271, in like_by_tags\r\n>     self.username, self.like_by_followers_upper_limit, self.like_by_followers_lower_limit)\r\n> TypeError: 'NoneType' object is not iterable\r\n\r\nwhen I try to run the following InstaPy script:\r\n\r\n```python\r\nInstaPy(username='XXX', password='XXX')\\\r\n  .login()\\\r\n  .set_do_comment(True, percentage=10)\\\r\n  .set_comments(['Cool!', 'Awesome!', 'Nice!'])\\\r\n  .set_dont_include(['friend1', 'friend2', 'friend3'])\\\r\n  .set_dont_like(['girl', 'hot'])\\\r\n  .set_ignore_if_contains(['pizza'])\\\r\n  .like_by_tags(['fitness'], amount=10)\\\r\n  .end()\r\n"},"comment":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/comments/295023917","html_url":"https://github.com/timgrossmann/InstaPy/issues/150#issuecomment-295023917","issue_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/150","id":295023917,"user":{"login":"vlntdds","id":5658870,"avatar_url":"https://avatars0.githubusercontent.com/u/5658870?v=3","gravatar_id":"","url":"https://api.github.com/users/vlntdds","html_url":"https://github.com/vlntdds","followers_url":"https://api.github.com/users/vlntdds/followers","following_url":"https://api.github.com/users/vlntdds/following{/other_user}","gists_url":"https://api.github.com/users/vlntdds/gists{/gist_id}","starred_url":"https://api.github.com/users/vlntdds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlntdds/subscriptions","organizations_url":"https://api.github.com/users/vlntdds/orgs","repos_url":"https://api.github.com/users/vlntdds/repos","events_url":"https://api.github.com/users/vlntdds/events{/privacy}","received_events_url":"https://api.github.com/users/vlntdds/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T00:23:36Z","updated_at":"2017-04-19T00:23:36Z","body":"For some users it won't work.\r\nWait for a fix."}}
{"actor":{"display_login":"vlntdds"}}