Comment facebook page to parent_id
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
22840c0102
commit
8885f1baa1
@ -106,7 +106,7 @@ class FacebookService:
|
|||||||
openai_service = OpenAIService(name=openai_assistant_model.name)
|
openai_service = OpenAIService(name=openai_assistant_model.name)
|
||||||
bot_response = openai_service.handle_message(prompt)
|
bot_response = openai_service.handle_message(prompt)
|
||||||
|
|
||||||
sender_id = page_id
|
sender_id = parent_id
|
||||||
# Post a comment on the shared post
|
# Post a comment on the shared post
|
||||||
shared_comment_response = self._post_facebook_comment(post_id, bot_response, page_access_token, sender_id)
|
shared_comment_response = self._post_facebook_comment(post_id, bot_response, page_access_token, sender_id)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user