Skip to content

Releases: MinhHuyDev/fbchat-v2

fbchat-version-1.0.6.1

10 Mar 05:06
94f9156

Choose a tag to compare

no body, It's just a small change due to my silly mistakes.

fbchat-version-1.0.6

14 Nov 15:45
ded81e1

Choose a tag to compare

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.py to track sequence IDs and MQTT publish events, improving traceability for future issues.
Changed
  • Updated MQTT connection logic in connect_mqtt to fetch the latest lastSeqID before each publish, ensuring synchronization with Facebook's current state.
  • Modified on_message callback to include an exponential backoff retry mechanism (5s, 10s, 20s) for handling ERROR_QUEUE_OVERFLOW, with a maximum of 3 retries before full reconnect.
  • Adjusted on_disconnect to 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_publish to align with updated Facebook MQTT protocol requirements (based on 2025 Bitlbee fixes).
Fixed
  • Resolved compatibility issues in messageListenV2.py caused by recent Facebook protocol changes, which led to inconsistent sequence IDs and queue overflows.
  • Fixed the persistent ERROR_QUEUE_OVERFLOW issue in the messageListen module by resetting syncToken and regenerating lastSeqID on error, with improved retry logic to handle queue overflow gracefully.
  • Corrected the sync_token value in /messenger_sync_get_diffs queue to use self.syncToken instead 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 ERROR codes (e.g., ERROR_QUEUE_NOT_FOUND) and report them via GitHub Issues.
  • For optimal performance, ensure your Facebook cookie is fresh and regenerate session_id periodically 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

08 Feb 08:51
d8e0494

Choose a tag to compare

Remove unnecessary libraries.

fbchat-version-1.0.5

26 Jan 14:35
64e702e

Choose a tag to compare

  • 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

15 Jan 15:57
5d80dba

Choose a tag to compare

Created file: ".mqttMessage". All messages received will be recorded here!

fbchat-version-1.0.4.8

07 Jan 16:50
7e25fd1

Choose a tag to compare

Fix and clear code plugins: __FacebookToolsV2.py and utils.py

fbchat-version-1.0.4.7

03 Jan 15:36
cdd4244

Choose a tag to compare

fix a bug for plugins: __uploadAttachment.py (Export data 'attachmentID' ERROR)

fbchat-version-1.0.4.6

01 Jan 16:05
85468fa

Choose a tag to compare

Fix a bug for plugins: __facebookToolsV2.py* (Fix get fb_dtsg ERROR)

fbchat-version-1.0.4.5

15 Dec 16:48
932d596

Choose a tag to compare

Fix a bug: __sendMessage.py and __unsendMessage.py

fbchat-version-1.0.4.4

13 Dec 12:30
2fde327

Choose a tag to compare

Fix a bug and update for: __uploadAttachments.py (change to __uploadImages.py)