How would you insert the ability to like the posts re-tweeted, along with follow the users that posted.
naughty_words = [" -RT"]
good_words = ["CSGO", "skins", "csgo giveaway" "csgogiveaway", "CSGOGiveaway", "Giveaway"]
filter = " OR ".join(good_words)
blacklist = " -".join(naughty_words)
keywords = filter + blacklist
twitter = Twython(app_key, app_secret, oauth_token, oauth_token_secret)
search_results = twitter.search(q=keywords, count=20)
try:
for tweet in search_results["statuses"]:
try:
twitter.retweet(id = tweet["id_str"])
except TwythonError as e:
"print e"
except TwythonError as e:
"print e"