Skip to main content

Facebook Messenger Slave Channel for EH Forwarder Bot, based on ``fbchat``.

Project description

EFB Facebook Messenger Slave (EFMS)

Channel ID: blueset.fbmessenger

EFMS is a channel that connects to Facebook Messenger for EH Forwarder Bot, based on simulation of Facebook Messenger Web, and fbchat.

Alpha version

This is an unstable alpha version, and functionality may change at any time.

Requirements

  • Python >= 3.5

  • EH Forwarder Bot >= 2.0.0

Getting started

  1. Install required binary dependencies

  2. Install

    pip3 install efb-fb-messenger-slave
  3. Enable the channel in the profile’s config.yaml.

    The path to the current profile may vary depends on your configuration.

    (In EFB 2.0.0a1, the default profile path is ~/.ehforwarderbot/profiles/default )

  4. Sign in

    $ efms-auth

    And follow the instructions.

Optional configuration file

EFMS allows user to enable or disable experimental features with the configuration file. It is located at <Path to current profile>/blueset.fbmessenger/config.yaml.

Example

# Experimental flags
# This section can be used to enable experimental functionality.
# However, those features may be changed or removed at any time.
# Options in this section is explained afterward.
flags:
    option_one: 10
    option_two: false
    option_three: "foobar"

Tips and tricks

  • To react to a message, reply (target) to the message with one of the following commands:

    • r`LOVE for 😍

    • r`SMILE for 😆

    • r`WOW for 😮

    • r`SAD for 😢

    • r`ANGRY for 😠

    • r`YES for 👍

    • r`NO for 👎

  • To send large emoji, send the emoji as text following by S, M, or L as small, medium and large emoji accordingly.

Experimental flags

The following flags are experimental features, may change, break, or disappear at any time. Use at your own risk.

  • proxy_links_by_facebook (bool) [Default: true]

    Deliver links (including links in share entities and thumbnails) using Facebook’s proxy. Disable this option to show the source directly.

  • send_link_with_description (bool) [Default: false]

    When processing link message from the Master Channel, attach the title and description besides the link when the option is enabled.

  • show_pending_threads (bool) [Default: false]

    When showing the threads list, include threads pending approval.

  • show_archived_threads (bool) [Default: false]

    When showing the threads list, include archived threads.

Vendor-specifics

EFMS’s chats provides the following vendor specific options:

  • 'chat_type' (str): Type of the thread: 'User', 'Page', or 'Group'.

  • 'profile_picture_url' (str): URL to the thread’s profile picture.

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

efb-fb-messenger-slave-2.0.0b0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

efb_fb_messenger_slave-2.0.0b0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file efb-fb-messenger-slave-2.0.0b0.tar.gz.

File metadata

File hashes

Hashes for efb-fb-messenger-slave-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 5bdacf7cb2e1e3854d017487c4f0f39601bbe65139188deccdb93e46add81ea8
MD5 871a3bdf8661e2e61530ddd983d8da58
BLAKE2b-256 3aaddcba9a88238bd2e5f32819f07ac34c53a15fab12f4715ef3afbc2e4d0ff7

See more details on using hashes here.

File details

Details for the file efb_fb_messenger_slave-2.0.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for efb_fb_messenger_slave-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7282e43cb407a9acb96b48494732e38108a49b856452fc2f1142b330e7a3a0
MD5 2a1847537bb29779f7a99e6bb1a80bb0
BLAKE2b-256 3b25780adad7f41371896588397814c1af0242cd8e6c656994886b7edbe9e8bb

See more details on using hashes here.

Supported by

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