From 213051832ed72b43d5bf17a8a059b87be7ff3f3b Mon Sep 17 00:00:00 2001 From: Hetal Mangukia Date: Fri, 13 Jul 2018 14:16:49 +0530 Subject: [PATCH] Update benji.py --- windows/benji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/benji.py b/windows/benji.py index 37261e1..cca6401 100644 --- a/windows/benji.py +++ b/windows/benji.py @@ -99,7 +99,7 @@ def events(frame,put): print("By ", status.user.screen_name, " at ", status.user.created_at) #Get friends from twitter - elif link[-2] == "twitter" and link[-1] == "friends": + elif link[-3] == "follow" and link[-1] == "twitter": auth = OAuthHandler(twitterCredentials.consumer_key, twitterCredentials.consumer_secret) auth.set_access_token(twitterCredentials.access_token, twitterCredentials.access_secret) api = tweepy.API(auth)