A Simple Messenger Bot that can translate from many languages to many languages. It works based on Google Translator. Receives data by Chatfuel with get method.
- Page: https://www.facebook.com/translatorxs/
- Messenger: https://m.me/translatorxs/
To know the usage, send '/help' to the bot.
- Chainese Language
- Report if you find any
- flask
- googletrans
- requests
- os
- sys
- json
- pprint
- Install packages using this command:
pip install flask googletrans requests
- Create a facebook page.
- Go to Chatfuel and connect facebook page.
- Create card
JSON API
in both "Welcome" and "Default Message" section. - Download the repository from github.
- Modify code as you want.
- Upload in heroku (Contact if you face any problem). NB: PythonAnywhere Doesn't support 'googletrans' module. Use other instead if you use PA.
- Remember your web app link.
- Put the link on
JSON API
URL section and select GET method. - Your bot is 100% ready to use.
NB: You can use facebook app in developers.facebook.com to use. But you have to change app.py to make compitable
Any feedback is much appreciated.
- Mail: [email protected]
- Facebook: https://www.facebok.com/xayed42