-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEW] Facebook livechat integration #8807
Conversation
*/ | ||
RocketChat.API.v1.addRoute('livechat/facebook', { | ||
post() { | ||
if (!this.bodyParams.text && !this.bodyParams.attachments) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check if the request came from facebook via some kind of token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes.. done
*/ | ||
RocketChat.API.v1.addRoute('livechat/facebook', { | ||
post() { | ||
if (!this.bodyParams.text && !this.bodyParams.attachments) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should check if facebook integration is enabled too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done as well =)
attachments is not working |
both directions |
feel free to open an issue. This PR is already merged and has been for a while. Best chance of getting eyes on it would be a new issue |
@RocketChat/core
This feature will allow livechat agents to respond inquiries from Facebook pages' messenger 🎉
Just pick the pages you want to respond:
And start chatting: