Channel ID: blueset.fbmessenger
EFMSはFacebook Messengerと繋ぎ、EH Forwarder Botのチャネルである。このチャネルはFacebook Messenger Webのシミュレーションと`fbchat <https://github.com/carpedm20/fbchat>`_に基いて作られたものである。
このバージョンは不安定のバージョンであり、機能を変わる場合もあります。
- Python >= 3.6
- EH Forwarder Bot >= 2.0.0
必要のバイナリーディペンデンシーをインストールします
インストール
- ::
pip3 install efb-fb-messenger-slave
- Enable and configure EFMS using the EFB configuration wizard, or
enable it manually in the profile’s
config.yaml
.プロファイルまでのパスは設定より変わる場合があります。
(In EFB 2, the default profile path is
~/.ehforwarderbot/profiles/default
)
Sign in (only if setting up manually)
- ::
$ efms-auth
指示に従ってください
- Messages from threads in
MARKETPLACE
type (i.e. messages from interested buyers on Facebook Marketplace) cannot be processed. - Live location cannot be updated properly.
- Poll messages, reminders and events are not yet supported.
- Voice calls are not planned to be supported.
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
.
# 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"
- To send large emoji, send the emoji as text following by
S
,M
, orL
as small, medium and large emoji accordingly. For example, to send a large smile emoji, send😆L
.
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:false
]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.
- 注釈: Regardless of this option, link messages are sent as text, and
Facebook Messenger may or may not attach its own link preview per its system configuration.*
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.
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.
EFMS is licensed under GNU Affero General Public License 3.0 or later versions:
EFB Facebook Messenger Slave Channel: A slave channel for EH Forwarder Bot. Copyright (C) 2016 - 2020 Eana Hufwe, and the EFB Facebook Messenger Slave Channel contributors All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
EFMS supports translated user interface prompts, by setting the locale
environmental variable (LANGUAGE
, LC_ALL
, LC_MESSAGES
or
LANG
) to one of our supported languages. Meanwhile, you can
help to translate this project into your languages on our Crowdin
page.
- 注釈: If your are installing from source code, you will not get
- translations of the user interface without manual compile of
message catalogs (
.mo
) prior to installation.