Skip to content

Instantly share code, notes, and snippets.

@edsu edsu/follower_count.py
Last active Feb 27, 2019

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.