-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fbchat] Update fbchat service with last version v2.0.0a5 #485
Comments
Dear @orzechszek, thank you for writing in. Can I humbly ask you to submit a corresponding patch? We will be very happy to accept any patches which improve the situation on this. With kind regards, |
Hi again, according to [1], the development/release of the upcoming version 2.0.0 has stalled a bit. So, I figure the current implementation would be still functional? mqttwarn can be installed with the pip install mqttwarn[fbchat] With kind regards, |
Hi, I have a problem with running fbchat module with version 2.0.0a5. I'm getting:
|
Hi again, while I can't verify the whole process, I believe the most recent stable version, On the other hand, when upgrading 2021-09-29 18:53:02,773 ERROR [mqttwarn.core ] Unable to load service "fbchat" from file "/Users/amo/dev/daq-tools/sources/mqttwarn/mqttwarn/services/fbchat.py": No module named 'fbchat.models'
Traceback (most recent call last):
File "/Users/amo/dev/daq-tools/sources/mqttwarn/mqttwarn/core.py", line 568, in load_services
service_plugins[service]['module'] = load_module_from_file(modulefile)
File "/Users/amo/dev/daq-tools/sources/mqttwarn/mqttwarn/util.py", line 164, in load_module_from_file
return imp.load_source(digest, path, fp)
File "/usr/local/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/imp.py", line 171, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 711, in _load
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/amo/dev/daq-tools/sources/mqttwarn/mqttwarn/services/fbchat.py", line 9, in <module>
from fbchat.models import *
ModuleNotFoundError: No module named 'fbchat.models'
2021-09-29 18:53:02,777 CRITICAL [mqttwarn.core ] Unable to load service "fbchat" That obviously shows that the current implementation of the service adapter, Maybe you can outline what is wrong with the stable version With kind regards, |
Dear @orzechszek, fbchat-dev/fbchat@916a14062d added an "unmaintained" notice, where fbchat-dev/fbchat#613 has some further discussions. From there, I also discovered https://github.com/tulir/fbchat-asyncio, https://github.com/JuniorJPDJ/messenger_api, and https://github.com/Schmavery/facebook-chat-api. Apparently, Facebook now has an official API for chat bots, the »Meta« Messenger Platform. It looks like the HTTP calls outlined on [1,2] would be the right way to submit messages these days. With kind regards, [1] https://developers.facebook.com/docs/messenger-platform/send-messages /cc @przemas |
Hi again, as I don't see any future and sense in making the Therefore, I am closing this issue now. Feel free to reopen if you think it is not appropriate. With kind regards, |
Buen dia, hablo español Me parece muy triste no continuar con el proyecto ya que estoy en un proyecto personal donde responde mensajes por Markeplace de facebook y la api oficial de Facebook no funciona solo de manera empresarial. He dedicado mucho exfuerzo y tiempo para entender esta excelente libreria utilizo la version 1.9 y me funciona muy bien. Si puedo colaborar en algo me pueden comentar. |
Please make needed updates for fbchat service to cover changes in last version: https://github.com/fbchat-dev/fbchat - v2.0.0a5
The text was updated successfully, but these errors were encountered: