fbbot is a sim1ple bot class to showcasing the Facebook Messenger Platform
Project description
fbbot is a sim1ple bot class to showcasing the Messenger Platform, make your facebook bot with django-fbbot
Install
Install fbbot package with python-pip:
pip install fbbot
Create a simple echo bot ‘my_fbbot.py’:
from fbbot.test import simpleEchoBot FB_VERIFY_TOKEN = "VERIFY_TOKEN_DEFINED_BY_DEVELOPER" FB_PAGE_TOKEN = "FACEBOOK_PAGE_TOKEN" simpleEchoBot.run(FB_VERIFY_TOKEN, FB_PAGE_TOKEN, port="8000")
Run python3 my_fbbot.py.
Start the development server and visit http://127.0.0.1:8000/webhook
Visit http://127.0.0.1:8000/webhook and see “Hello World, webhook enable”
Send a message to your facebook page and the fbbot send the same text:
Hello! :User Bot: Hello! Echo! :User Bot: Echo!
Uninstall
If you want to uninstall this package run:
pip uninstall fbbot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fbbot-1.0.10-py3-none-any.whl.
File metadata
- Download URL: fbbot-1.0.10-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4894bfae267bae517f8dae332d5cd616ced8aa4f2f60240d83ae9b7eeb70740
|
|
| MD5 |
e19e0e26c3573f678375f675215a21c1
|
|
| BLAKE2b-256 |
27a22f2d80c3d475227bff09adb0684d664ec5abfc7530ec42eb3b70d5bf1070
|
File details
Details for the file fbbot-1.0.10-py2-none-any.whl.
File metadata
- Download URL: fbbot-1.0.10-py2-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfe0e208799e135a47121de2bb79d4d0d7c6e9bba5d66cdc8144903be6f5c61d
|
|
| MD5 |
a642acec870160b5f06b95d1d5bd734d
|
|
| BLAKE2b-256 |
13bd968272458ed618edf4274aa74da62962dbe836ebb311a84723e7a8d437f6
|