Compare commits
No commits in common. "7290e575f62033c81fb5e68cebe43d991951a8db" and "21960dc8a0d0b7fd332aab86a20162bc7fc5dbcd" have entirely different histories.
7290e575f6
...
21960dc8a0
@ -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}"
|
||||||
|
|
||||||
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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user