Twitter bot for group chat
|install ~botter-midsum-salrux %gato
|install ~mastyr-dozzod-marlur %botwit
:gato &add ['configure' [%botwit %configure] !>(['API-key' 'API-secret' ~])]
API-key and API-secret are consumer keys, you can create them on twitter developer portal. Don't forget to grant READ and WRITE permissions (in settings of your project).
To authenticate run commands below in grop chat:
/configure
> https://api.twitter.com/oauth/authenticate?....
/configure my_pin
> Authentication complete!
To post tweet at scheduled time :
/tweet my_tweet --time ~2000.1.1
To allow others use /tweet
:
/in ~mighex-forfem
/in ~mighex-forfem ~morzod-ballet ~rovnys-ricfer
To revoke access to /tweet
:
/out all
/out ~mighex-forfem ~morzod-ballet ~rovnys-ricfer
Currently not supported with free TwitterAPI tier:
To get information about user
/profile username
To turn on notifications
/notify