When following multiple users on Twitter with Twitter-bot using crontab, the same tweets will be will be importing again and again everytime crontab call the twitter-bot script. Using
will repeat to import last 5 tweets from two TwitterUsernames from the list every five minutes. Only one TwitterUsername will behave as expected and his tweets will not be duplicated.
@strifel proposed this solution:
You could try changing line 114 in /usr/local/share/zulip/integrations/twitter/twitter-bot from
When following multiple users on Twitter with Twitter-bot using crontab, the same tweets will be will be importing again and again everytime crontab call the twitter-bot script. Using
will repeat to import last 5 tweets from two TwitterUsernames from the list every five minutes. Only one TwitterUsername will behave as expected and his tweets will not be duplicated.
@strifel proposed this solution: You could try changing line 114 in /usr/local/share/zulip/integrations/twitter/twitter-bot from
to
It solved the problem so I suggest to embed this code to twitter-bot if this don't affect using twitter-bot with only one following TwitterUser.