Skip to content

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.

3 participants