Compare commits
2 Commits
21960dc8a0
...
7290e575f6
Author | SHA1 | Date | |
---|---|---|---|
7290e575f6 | |||
fbfcf3e643 |
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user