Releases: MinhHuyDev/fbchat-v2
Releases · MinhHuyDev/fbchat-v2
fbchat-version-1.0.6.1
no body, It's just a small change due to my silly mistakes.
fbchat-version-1.0.6
Changelog
[v1.0.6] - 2025-11-14 20:07 +07
Release Date: Friday, November 14, 2025, 10:44 PM +07
Author: *MinhHuyDev *
Added
- Enhanced debugging logs in
_messageListenV2.pyto track sequence IDs and MQTT publish events, improving traceability for future issues.
Changed
- Updated MQTT connection logic in
connect_mqttto fetch the latestlastSeqIDbefore each publish, ensuring synchronization with Facebook's current state. - Modified
on_messagecallback to include an exponential backoff retry mechanism (5s, 10s, 20s) for handlingERROR_QUEUE_OVERFLOW, with a maximum of 3 retries before full reconnect. - Adjusted
on_disconnectto implement automatic reconnection with a 10-second delay after unexpected disconnections, enhancing stability. - Added
"orca_version": "1.2.0"to the queue payload in_messenger_queue_publishto align with updated Facebook MQTT protocol requirements (based on 2025 Bitlbee fixes).
Fixed
- Resolved compatibility issues in
messageListenV2.pycaused by recent Facebook protocol changes, which led to inconsistent sequence IDs and queue overflows. - Fixed the persistent
ERROR_QUEUE_OVERFLOWissue in themessageListenmodule by resettingsyncTokenand regeneratinglastSeqIDon error, with improved retry logic to handle queue overflow gracefully. - Corrected the
sync_tokenvalue in/messenger_sync_get_diffsqueue to useself.syncTokeninstead of a hardcoded "1", ensuring accurate synchronization.
Notes
- This update addresses minor bugs reported by the community due to Facebook's backend updates in late 2025. Special thanks to all users who provided feedback and tested early patches!
- The retry and reconnect mechanisms are now more robust, but monitor logs for any new
ERRORcodes (e.g.,ERROR_QUEUE_NOT_FOUND) and report them via GitHub Issues. - For optimal performance, ensure your Facebook cookie is fresh and regenerate
session_idperiodically if issues persist.
Credits
- Huge thanks to the fbchat-v2 community for their continued support and contributions since the project's inception. Your feedback has been instrumental in this remake!
- Inspired by Bitlbee and other open-source MQTT fixes for Facebook Messenger in 2025.
- @MinhHuyDev
fbchat-version-1.0.5.1
Remove unnecessary libraries.
fbchat-version-1.0.5
- Fix a bug and CLEAR CODE: utils.py, __messageListenV2.py, etc...
- NEW FILE: main.py (description: Receive message and send message to thread/user)
fbchat-version-1.0.4.9
Created file: ".mqttMessage". All messages received will be recorded here!
fbchat-version-1.0.4.8
Fix and clear code plugins: __FacebookToolsV2.py and utils.py
fbchat-version-1.0.4.7
fix a bug for plugins: __uploadAttachment.py (Export data 'attachmentID' ERROR)
fbchat-version-1.0.4.6
Fix a bug for plugins: __facebookToolsV2.py* (Fix get fb_dtsg ERROR)
fbchat-version-1.0.4.5
Fix a bug: __sendMessage.py and __unsendMessage.py
fbchat-version-1.0.4.4
Fix a bug and update for: __uploadAttachments.py (change to __uploadImages.py)