Skip to content

Client XMPP

Keith Sterling edited this page Feb 26, 2019 · 5 revisions

XMPP allows you to run a chat bot via google chat, the config below demonstrates what settings are required to make this happen

Running the Client

To run the Facebook client, you can use the shell script in Y-Bot scripts folder

./y-bot-xmpp.sh

Or you can use the command line

python3 -m programy.clients.polling.xmpp.client --config <PATH TO CONFIG> --cformat yaml --logging <PATH TO LOGGING>

Configuration Settings

You should not need to change anything if you are using Google, if you are using another XMPP Server then you'll need to change the server and port setting, but should not need to modify the xep_XXXX options. These are really for advanced users only.

Configuration settings are decribed in the Wiki page XMPP Configuration

License Key Settings

You will need a valid Google account, this needs to be set up with userid and password only. Do not use an account that has multi-factor authentication ( MFA ) enabled, otherwise it will not work

XMPP_USERNAME = [email protected]
XMPP_PASSWORD = XXXXXXXXXXX
Clone this wiki locally