From 5d570394c09f84431885fb887715a605653b6aff Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Thu, 11 Nov 2021 05:46:50 +0000 Subject: [PATCH] Bugfix rename search method following API change --- interaction/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interaction/script.py b/interaction/script.py index 23496ce..a47f2a2 100644 --- a/interaction/script.py +++ b/interaction/script.py @@ -32,7 +32,7 @@ def storeLastSeen(filename, lastSeen): def searchTweets(query): print('Searching for tweets') lastSeen = getLastSeen(lastSeenFile) - tweets = api.search(query, since_id=lastSeen) + tweets = api.search_tweets(query, since_id=lastSeen) return tweets def interactions():