-
Notifications
You must be signed in to change notification settings - Fork 26
Questions and answers
Adam Thomas edited this page Jan 6, 2021
·
3 revisions
Use the Twitter search operators.
For example, search for user account @soccerfan
:
retweet_include_words = ["from:soccerfan"]
Search for hashtag #football
from user account @soccerfan
:
retweet_include_words = ["#football+from:soccerfan"]
Modify the compose_message()
function and use the description
variable (left unused at the moment) instead of title
.
In other words, replace this:
message = shorten_text(title, maxlength=250) + " " + link
With this:
message = shorten_text(description, maxlength=250) + " " + link
Make sure to keep maxlength=250
since that will leave some room for Twitter's t.co
links as well.