Skip to content
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

Added handleFacebookMessage #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added handleFacebookMessage #96

wants to merge 1 commit into from

Conversation

shubhadit
Copy link

No description provided.

@mraaroncruz
Copy link
Collaborator

  • consider API
  • consider naming
  • add docs
  • add deprecation of handleFacebookData

@mraaroncruz
Copy link
Collaborator

I'm really busy ATM so I might not have time until the beginning of next week.

} else {
console.log('Webhook received unknown event: ', event);
}
this.handleFacebookMessage(event);
Copy link
Collaborator

Choose a reason for hiding this comment

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

handleFacebookEntry()? Fits facebooks API better and maybe easier to translate for people who actually know what their data looks like (the assumed clients of this method).

@Charca
Copy link
Owner

Charca commented Jul 12, 2018

@mraaroncruz can we close this PR now? It looks like handleFacebookData replaces this, right?

@Charca
Copy link
Owner

Charca commented Jul 12, 2018

Oh, I see this is to handle each individual event, nevermind. This looks good to me, but I'd like to see some of the changes you mentioned above, specially:

  • Rename to handleFacebookEvent.
  • Add Docs.

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.

None yet

3 participants