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():