diff --git a/streamwatcher.py b/streamwatcher.py index 615e3a1..e48b817 100755 --- a/streamwatcher.py +++ b/streamwatcher.py @@ -65,8 +65,8 @@ def main(): username_list.append(user) for username in username_list: - user = tweepy.API().get_user(username) - userid_list.append(user.id) + user = tweepy.API(auth).get_user(username) + userid_list.append(str(user.id)) follow_list = userid_list else: