Skip to main content

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")
  1. Run python3 my_fbbot.py.

  2. Start the development server and visit http://127.0.0.1:8000/webhook

  3. Visit http://127.0.0.1:8000/webhook and see “Hello World, webhook enable”

  4. 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

Release files for fbbot 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for fbbot 1.0.10
File Interpreter ABI Platform
fbbot-1.0.10-py3-none-any.whl Python 3 none any Details
fbbot-1.0.10-py2-none-any.whl Python 2 none any Details

Total release size: 26.0 kB

Release files / fbbot-1.0.10-py3-none-any.whl

Download URL fbbot-1.0.10-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4894bfae267bae517f8dae332d5cd616ced8aa4f2f60240d83ae9b7eeb70740
BLAKE2b-256 checksum
How to use checksums
27a22f2d80c3d475227bff09adb0684d664ec5abfc7530ec42eb3b70d5bf1070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / fbbot-1.0.10-py2-none-any.whl

Download URL fbbot-1.0.10-py2-none-any.whl
Size 13.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
cfe0e208799e135a47121de2bb79d4d0d7c6e9bba5d66cdc8144903be6f5c61d
BLAKE2b-256 checksum
How to use checksums
13bd968272458ed618edf4274aa74da62962dbe836ebb311a84723e7a8d437f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.10 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page