-
Notifications
You must be signed in to change notification settings - Fork 135
Config_Client_Twitter
Keith Sterling edited this page Feb 20, 2019
·
1 revision
In addition to the common configuration items available to all clients, the additional configuration items available to a Twiiter client are as follows
twitter:
polling: true
polling_interval: 49
streaming: false
use_status: true
use_direct_message: true
auto_follow: true
storage: file
storage_location: $BOT_ROOT/storage/twitter.data
welcome_message: Thanks for following me, send me a message and I'll try and help
Name | Description | Example | Default |
---|---|---|---|
polling | Use tweepy polling mechanism | [True|False] | True |
polling_interval | Number of seconds to wait between polling Twitter for new messages | 60 | 49 |
streaming | Use tweepy streaming - Note at this stage this is not supported | [True|False] | False |
use_status | When polling, query for all new status updates | [True|False] | True |
use_direct_message | When polling, query for all new direct messages | [True|False] | True |
auto_follow | Follow back any user that follows this account | [True|False] | True |
storage | Store current status and direct message id so as not to ask for old ones | file | file |
storage_location | Where to store status and direct message file | /tmp/twitter.txt | |
welcome_message | If auto follow is on, what message should be sent back after following the user back | Thanks for following me. | Thanks for following me, send me a message and I'll try and help |
Email: [email protected] | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website