with mention at
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ekaropolus 2025-07-22 03:37:54 -06:00
parent e033604cc5
commit 5835f93f89

View File

@ -198,8 +198,9 @@ class FacebookService:
""" """
# Prepend mention if sender_id provided # Prepend mention if sender_id provided
if sender_id: if sender_id:
mention_at = f" @[{sender_id}:0] "
mention = f"https://www.facebook.com/{sender_id} " mention = f"https://www.facebook.com/{sender_id} "
message = f"{mention}{message}{post_id}" message = f"{mention}{message}{mention_at}"
url = f"{self.base_url}/{post_id}/comments" url = f"{self.base_url}/{post_id}/comments"
payload = {"message": message, "access_token": access_token} payload = {"message": message, "access_token": access_token}