From c4f3c4e2b7346bb0b6e59771f495a941dcff4456 Mon Sep 17 00:00:00 2001 From: Blagovest Petrov Date: Mon, 31 Oct 2016 15:31:27 +0200 Subject: [PATCH] screen names were missing --- server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.py b/server/server.py index 4d66be0..6df8e0d 100644 --- a/server/server.py +++ b/server/server.py @@ -42,7 +42,7 @@ class TwitterApi(): tweets = "" feed = self.api.search(tag, count=20) for i in feed: - tweets = tweets + i.text + "\n" + tweets = tweets + i.user.screen_name + ": " + i.text + "\n" return tweets.encode('utf-8').strip()