3 from twitter_authentication import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
5 auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
6 auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
10 user = api.get_user('makoshark')
12 print(user.screen_name + " has " + str(user.followers_count) + " followers.")
14 print("They include these 100 people:")
16 for friend in user.friends(count=100):
17 print(friend.screen_name)