fbbot-1.0.10
توضیحات
fbbot is a sim1ple bot class to showcasing the Facebook Messenger Platform
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fbbot-1.0.10 |
| نام | fbbot |
| نسخه کتابخانه | 1.0.10 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | espacioAntonio |
| ایمیل نویسنده | espacio.antonio@gmail.com |
| آدرس صفحه اصلی | https://github.com/espacioAntonio/fbbot |
| آدرس اینترنتی | https://pypi.org/project/fbbot/ |
| مجوز | MIT License |
===============================
Facebook Messenger Bot : fbbot
===============================
fbbot is a sim1ple bot class to showcasing the Messenger Platform, make your facebook bot with django-fbbot
Install
----------------------------------------
1. Install **fbbot** package with python-pip::
pip install fbbot
2. 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")
5. Run `python3 my_fbbot.py`.
6. Start the development server and visit http://127.0.0.1:8000/webhook
7. Visit http://127.0.0.1:8000/webhook and see "Hello World, webhook enable"
8. Send a message to your facebook page and the fbbot send the same text::
Hello! :User
Bot: Hello!
Echo! :User
Bot: Echo!
Uninstall
--------------------------------------------
1. If you want to uninstall this package run::
pip uninstall fbbot
نیازمندی
| مقدار | نام |
|---|---|
| ==2.13.0 | requests |
نحوه نصب
نصب پکیج whl fbbot-1.0.10:
pip install fbbot-1.0.10.whl
نصب پکیج tar.gz fbbot-1.0.10:
pip install fbbot-1.0.10.tar.gz