Compare commits

...

2 Commits

Author SHA1 Message Date
7290e575f6 Adding post id to debbug
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-22 13:38:08 -06:00
fbfcf3e643 Decomplexification of services 2025-07-22 12:46:45 -06:00

View File

@ -198,9 +198,8 @@ 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}" message = f"{mention}{message}{post_id}"
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}