1 # Q Write a program to find out how many people a particular user follows?
5 from twitter_authentication import CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET
7 auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
8 auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
10 api = tweepy.API(auth)
12 user = api.get_user('makoshark')
14 print(user.screen_name + " follows " + str(user.friends_count) + " accounts.")