Skip to main content

Bot class for Facebook Messenger

Project description

# python-messenger
Messenger bot base class for python applications

## Example

```py
from messenger import Bot

class EchoBot(Bot):
def handle_message(self, messaging_event):
self.send_text_message(messaging_event['sender']['id'], messaging_event['message']['text'])
```

## Contributing

### Installation
```bash
virtualenv virtualenv
source virtualenv/bin/activate
pip install -r requirements.txt
```

### Tests
```bash
source virtualenv/bin/activate
pytest messenger
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-messenger-0.1.2.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file python-messenger-0.1.2.tar.gz.

File metadata

File hashes

Hashes for python-messenger-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d70e6c0ffce1ebf15c56ae57c00d1bbced57a1e1fb238280cd4670a0393a463f
MD5 597e56c571abe6a88df13dd133d6fbd9
BLAKE2b-256 06c3cfa6d034fd5d0e42d908d0989cb6426641cade1d8fa2736707558fa5a83f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page