Browse Source

screen names were missing

master
Blagovest Petrov 8 years ago
parent
commit
c4f3c4e2b7
  1. 2
      server/server.py

2
server/server.py

@ -42,7 +42,7 @@ class TwitterApi():
tweets = "" tweets = ""
feed = self.api.search(tag, count=20) feed = self.api.search(tag, count=20)
for i in feed: for i in feed:
tweets = tweets + i.text + "\n" tweets = tweets + i.user.screen_name + ": " + i.text + "\n"
return tweets.encode('utf-8').strip() return tweets.encode('utf-8').strip()

Loading…
Cancel
Save