Skip to content

Instantly share code, notes, and snippets.

@edsu
Last active February 27, 2019 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsu/9e3cad1505543e13d258de343d6f76aa to your computer and use it in GitHub Desktop.
Save edsu/9e3cad1505543e13d258de343d6f76aa to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import sys
import time
import twarc
t = twarc.Twarc()
screen_name = sys.argv[1]
while True:
u = next(t.user_lookup([screen_name], id_type="screen_name"))
print(u['followers_count'])
time.sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment