Skip to content

[NEW] Facebook livechat integration#8807

Merged
rodrigok merged 20 commits intodevelopfrom
facebook-livechat-integration
Dec 8, 2017
Merged

[NEW] Facebook livechat integration#8807
rodrigok merged 20 commits intodevelopfrom
facebook-livechat-integration

Conversation

@sampaiodiego
Copy link
Copy Markdown
Member

@RocketChat/core

This feature will allow livechat agents to respond inquiries from Facebook pages' messenger 🎉

Just pick the pages you want to respond:
image

And start chatting:
image

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-8807 November 7, 2017 12:35 Inactive
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-8807 November 7, 2017 19:02 Inactive
@rodrigok rodrigok added this to the 0.60.0 milestone Nov 7, 2017
*/
RocketChat.API.v1.addRoute('livechat/facebook', {
post() {
if (!this.bodyParams.text && !this.bodyParams.attachments) {
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member Author

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) {
Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done as well =)

@sampaiodiego sampaiodiego temporarily deployed to rocket-chat-pr-8807 November 8, 2017 19:42 Inactive
@sampaiodiego sampaiodiego temporarily deployed to rocket-chat-pr-8807 November 8, 2017 19:44 Inactive
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-8807 December 8, 2017 12:52 Inactive
@gudge25
Copy link
Copy Markdown

gudge25 commented Aug 20, 2018

attachments is not working

@gudge25
Copy link
Copy Markdown

gudge25 commented Aug 20, 2018

both directions

@geekgonecrazy
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants