829 B
Executable File
829 B
Executable File
Tangmo FxTwitter Bot
Telegram bot that monitor for a message containing a Twitter post link and reply with FxTwitter link
- Register Telegram bot
- We are using WebHooks model. Point HTTPS web server to
public_html/hook.php - Copy
env.sample.phptoenv.phpand enter credentials composer installphp set_web_hook.php- It should work now
Design consideration
Zero Database
As system maintainer, that is 1 less things to worry about.
As a user, the usage data remain private as nothing is logged.
Potential features that require Database includes
- Bot usage analysis: just don't. Respect user's privacy.
- Buttons: Each button can cotain upto 64 bytes in
callback_data, hopefully this will be enough to store all context required for the functionality.