codedao12 - Facebook User Trigger icon

codedao12 - Facebook User Trigger

Lắng nghe tin nhắn messenger và thông báo Facebook cá nhân.

codedao12 - Facebook User Trigger

AI-generated

Summary

Listen for various personal Facebook Messenger events (such as messages, replies, typing indicators, read receipts, message unsends, reactions, and presence status) from group chats of the logged-in account and optionally receive general Facebook notifications.

Inputs

  • eventsToReceive — Select which types of Messenger events to listen for in group chats; unselected events will be filtered out. Available options include messages, replies, typing, read receipts, message unsends, reactions, and presence (online/offline). This parameter can be left empty to receive no events.
  • proxyUrl — Optional proxy URL (with credentials if needed) used during login to the Facebook account; should be a proxy that already has the required cookies.
  • selfListen — If enabled, the trigger will also emit events caused by the logged-in user themselves for the selected event types.
  • autoMarkRead — If enabled, the node will automatically mark received messages as read. Recommended to disable when testing.
  • reconnectDelayS — Base delay in seconds before attempting to reconnect after disconnects.
  • watchdogIdleH — Number of hours without any events after which the node tries to reconnect automatically; 0 disables this feature.
  • maxReloginPerHour — Limits the maximum number of login attempts per hour to avoid triggering Facebook checkpoints.
  • enableNotifications — Enable listening to recent Facebook notifications, separate from Messenger chat events.
  • notificationTypes — Specify which types of Facebook notifications to ignore when notifications listening is enabled. Options include like/reaction, comment/reply, post/share, and others; leaving empty receives all notification types.
  • notificationIntervalMinutes — Interval in minutes between checks for new Facebook notifications when notifications listening is enabled.
  • notificationCount — Maximum number of notifications to retrieve per interval.
  • notificationLookbackMinutes — Time window in minutes to consider recent notifications for retrieval.
  • notificationFilterTokens — Comma-separated tokens used to filter notifications; defaults apply if left empty.
  • notificationDocId — Optional document ID for notifications; defaults used if left empty.

Output shape

a stream of event objects corresponding to the selected Messenger events or Facebook notifications.

Events are filtered based on the selected event types and notification filters. The trigger maintains a persistent connection and manages reconnection and login rate limits as configured. Chat events apply only to Messenger group chats.

Links

Discussion