diff --git a/integrations/twitter/twitter-bot b/integrations/twitter/twitter-bot index 1748de9..aec159d 100755 --- a/integrations/twitter/twitter-bot +++ b/integrations/twitter/twitter-bot @@ -41,7 +41,7 @@ def write_config(config, since_id, user): parser = optparse.OptionParser(r""" -%prog --user foo@example.com --api-key 0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --twitter-id twitter_handle +%prog --user foo@example.com --api-key 0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --twitter-id twitter_handle --site=https://zulip.example.com Slurp tweets on your timeline into a specific zulip stream. diff --git a/integrations/twitter/twitter-search-bot b/integrations/twitter/twitter-search-bot index 426b5f7..62579e2 100755 --- a/integrations/twitter/twitter-search-bot +++ b/integrations/twitter/twitter-search-bot @@ -55,12 +55,12 @@ To use this script: 2. Subscribe to the stream that will receive Twitter updates (default stream: twitter) 3. Test the script by running it manually, like this: -/usr/local/share/zulip/integrations/twitter/twitter-search-bot --search="@nprnews,quantum physics" +/usr/local/share/zulip/integrations/twitter/twitter-search-bot --search="@nprnews,quantum physics" --site=https://zulip.example.com 4. Configure a crontab entry for this script. A sample crontab entry that will process tweets every 5 minutes is: -*/5 * * * * /usr/local/share/zulip/integrations/twitter/twitter-search-bot --search="@nprnews,quantum physics" +*/5 * * * * /usr/local/share/zulip/integrations/twitter/twitter-search-bot --search="@nprnews,quantum physics" --site=https://zulip.example.com == Setting up Twitter authentications ==